fix variable name

This commit is contained in:
Chris Cromer 2020-08-06 20:45:00 -04:00
parent e4e9487968
commit 1d8efea6c9
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -445,7 +445,7 @@ namespace TUFManager {
int set_speed = keyboard_speed;
tuf_server.procedure_finished.connect (release_cli);
set_keyboard_speed (set_speed);
settings.set_int ("keyboard-speed", speed);
settings.set_int ("keyboard-speed", set_speed);
#else
try {
pkttyagent = new Subprocess.newv ({"pkttyagent"}, SubprocessFlags.NONE);
@ -454,7 +454,7 @@ namespace TUFManager {
int set_speed = keyboard_speed;
tuf_server.procedure_finished.connect (release_cli);
set_keyboard_speed (set_speed);
settings.set_int ("keyboard-speed", speed);
settings.set_int ("keyboard-speed", set_speed);
return false;
});
}