mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:31:46 +00:00
[client] main: add + sign to mouse sensitivit alerts
This commit is contained in:
parent
759b4ef811
commit
83c5df2c47
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
a12-231-g437ebf6265+1
|
||||
a12-232-g759b4ef811+1
|
|
@ -921,7 +921,7 @@ static void mouse_sens_inc(SDL_Scancode key, void * opaque)
|
|||
if (state.mouseSens < 9)
|
||||
++state.mouseSens;
|
||||
|
||||
alloc_sprintf(&msg, "Sensitivity: %d", state.mouseSens);
|
||||
alloc_sprintf(&msg, "Sensitivity: %s%d", state.mouseSens > 0 ? "+" : "", state.mouseSens);
|
||||
app_alert(
|
||||
LG_ALERT_INFO,
|
||||
msg
|
||||
|
@ -936,7 +936,7 @@ static void mouse_sens_dec(SDL_Scancode key, void * opaque)
|
|||
if (state.mouseSens > -9)
|
||||
--state.mouseSens;
|
||||
|
||||
alloc_sprintf(&msg, "Sensitivity: %d", state.mouseSens);
|
||||
alloc_sprintf(&msg, "Sensitivity: %s%d", state.mouseSens > 0 ? "+" : "", state.mouseSens);
|
||||
app_alert(
|
||||
LG_ALERT_INFO,
|
||||
msg
|
||||
|
|
Loading…
Reference in a new issue