Fixed small bug introduced in my last commit.
Approved by: jkh
This commit is contained in:
parent
4aae1da6dd
commit
0f32c069d9
@ -54,7 +54,10 @@ mousedTest(dialogMenuItem *self)
|
|||||||
if (file_readable("/var/run/moused.pid"))
|
if (file_readable("/var/run/moused.pid"))
|
||||||
vsystem("kill `cat /var/run/moused.pid`");
|
vsystem("kill `cat /var/run/moused.pid`");
|
||||||
systemExecute("vidcontrol -m on");
|
systemExecute("vidcontrol -m on");
|
||||||
vsystem("moused -t %s -p %s %s", type, port, flags);
|
if (flags != NULL)
|
||||||
|
vsystem("moused -t %s -p %s %s", type, port, flags);
|
||||||
|
else
|
||||||
|
vsystem("moused -t %s -p %s", type, port);
|
||||||
|
|
||||||
ret = msgYesNo("Now move the mouse and see if it works.\n"
|
ret = msgYesNo("Now move the mouse and see if it works.\n"
|
||||||
"(Note that buttons don't have any effect for now.)\n\n"
|
"(Note that buttons don't have any effect for now.)\n\n"
|
||||||
|
@ -54,7 +54,10 @@ mousedTest(dialogMenuItem *self)
|
|||||||
if (file_readable("/var/run/moused.pid"))
|
if (file_readable("/var/run/moused.pid"))
|
||||||
vsystem("kill `cat /var/run/moused.pid`");
|
vsystem("kill `cat /var/run/moused.pid`");
|
||||||
systemExecute("vidcontrol -m on");
|
systemExecute("vidcontrol -m on");
|
||||||
vsystem("moused -t %s -p %s %s", type, port, flags);
|
if (flags != NULL)
|
||||||
|
vsystem("moused -t %s -p %s %s", type, port, flags);
|
||||||
|
else
|
||||||
|
vsystem("moused -t %s -p %s", type, port);
|
||||||
|
|
||||||
ret = msgYesNo("Now move the mouse and see if it works.\n"
|
ret = msgYesNo("Now move the mouse and see if it works.\n"
|
||||||
"(Note that buttons don't have any effect for now.)\n\n"
|
"(Note that buttons don't have any effect for now.)\n\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user