* Fix the last warning and reinstate -Werror on PSP.
This commit is contained in:
jean.chalard
2009-08-28 11:25:03 +00:00
parent 32204e8c37
commit 9723f18827
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -179,7 +179,7 @@ void SimplePad::MoveSelection(unsigned char moveto)
if(selected < KPD_MAX && selected >= 0)
priorKey = selected;
if(moveto < KPD_MAX && moveto >= 0) {
if(moveto < KPD_MAX) {
selected = moveto;
}
else if(moveto == KPD_INPUT)
@@ -407,4 +407,4 @@ unsigned int SimplePad::cursorPos(){
return buffer.size();
return cursor;
}
}