mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
silenced clang warning about unused capture
This commit is contained in:
parent
666ddb007e
commit
94cb0f82bb
@ -867,7 +867,7 @@ void showMessageLog() {
|
|||||||
displayButton(xr*10, i0, IFM("c - ") + XLAT("clear"), '0', 8);
|
displayButton(xr*10, i0, IFM("c - ") + XLAT("clear"), '0', 8);
|
||||||
displayButton(xr*40, i0, IFM("t - ") + XLAT(timeformats[timeformat]), '0', 8);
|
displayButton(xr*40, i0, IFM("t - ") + XLAT(timeformats[timeformat]), '0', 8);
|
||||||
|
|
||||||
keyhandler = [lines, maxpos] (int sym, int uni) {
|
keyhandler = [lines] (int sym, int uni) {
|
||||||
if(uni == PSEUDOKEY_WHEELDOWN) messagelogpos++;
|
if(uni == PSEUDOKEY_WHEELDOWN) messagelogpos++;
|
||||||
else if(uni == PSEUDOKEY_WHEELUP) messagelogpos--;
|
else if(uni == PSEUDOKEY_WHEELUP) messagelogpos--;
|
||||||
else if(uni == SDLK_DOWN || uni == SDLK_KP2) messagelogpos++;
|
else if(uni == SDLK_DOWN || uni == SDLK_KP2) messagelogpos++;
|
||||||
|
Loading…
Reference in New Issue
Block a user