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
d59adf1
..
2a46f09
100644
(file)
--- a/
gtk/xboard.c
+++ b/
gtk/xboard.c
@@
-1786,7
+1786,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