projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix ManProc for OS X
[xboard.git]
/
gtk
/
xboard.c
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
6769a19
..
ecf36dd
100644
(file)
--- a/
gtk/xboard.c
+++ b/
gtk/xboard.c
@@
-1807,7
+1807,9
@@
void
ManProc ()
{ // called from menu
#ifdef __APPLE__
- system("%s ./man.command", appData.sysOpen);
+ char buf[MSG_SIZ];
+ snprintf(buf, MSG_SIZ, "%s ./man.command", appData.sysOpen);
+ system(buf);
#else
system("xterm -e man xboard &");
#endif