Skip to content

Commit

Permalink
fllush関数内部に戻り値のチェックを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yumetodo committed Nov 18, 2015
1 parent 8aa92df commit 4653948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitHub/Don't_push/Don't_push/source/Dxkeystate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bool keystate::update() NOEXCEPT {
}

bool keystate::fllush() {
this->fllush_stream();
if(this->fllush_stream()) return false;
this->keystatebuf.fill(0);
return true;
}
Expand Down

0 comments on commit 4653948

Please sign in to comment.