projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9dc1416
)
Fix ManProc for OS X
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 14 Jan 2014 08:55:40 +0000 (09:55 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 14 Jan 2014 08:55:40 +0000 (09:55 +0100)
gtk/xboard.c
patch
|
blob
|
history
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