projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix layout tournament Load Engine dialog WB
[xboard.git]
/
winboard
/
help.c
diff --git
a/winboard/help.c
b/winboard/help.c
index
94d0fd9
..
71e0aae
100644
(file)
--- a/
winboard/help.c
+++ b/
winboard/help.c
@@
-1,7
+1,7
@@
/*
\r
* help.h
\r
*
\r
/*
\r
* help.h
\r
*
\r
- * Copyright 2009 Free Software Foundation, Inc.
\r
+ * Copyright 2009
, 2010, 2011
Free Software Foundation, Inc.
\r
* ------------------------------------------------------------------------
\r
*
\r
* GNU XBoard is free software: you can redistribute it and/or modify
\r
* ------------------------------------------------------------------------
\r
*
\r
* GNU XBoard is free software: you can redistribute it and/or modify
\r
@@
-24,6
+24,8
@@
\r
#include <windows.h>
\r
#include <stdio.h>
\r
\r
#include <windows.h>
\r
#include <stdio.h>
\r
+#include "config.h"
+#include "help.h"
\r
FILE *debugFP;
\r
\r
\r
FILE *debugFP;
\r
\r
@@
-59,7
+61,7
@@
HtmlHelp( HWND hwnd, LPCSTR helpFile, UINT action, DWORD_PTR data )
siStartInfo.hStdOutput = NULL;
\r
siStartInfo.hStdError = debugFP;
\r
\r
siStartInfo.hStdOutput = NULL;
\r
siStartInfo.hStdError = debugFP;
\r
\r
- s
printf(buf,
"Hh.exe %s", helpFile);
\r
+ s
nprintf(buf, sizeof(buf)/sizeof(buf[0]),
"Hh.exe %s", helpFile);
\r
\r
// ignore the other parameters; just start the viewer with the help file
\r
if( CreateProcess(NULL,
\r
\r
// ignore the other parameters; just start the viewer with the help file
\r
if( CreateProcess(NULL,
\r