projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
15caae7
)
Fix -addMasterOption option
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Mon, 10 Nov 2014 13:29:25 +0000 (14:29 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Thu, 7 May 2015 18:53:31 +0000 (20:53 +0200)
The comparison of the date stamps in master and user settings file
was broken, because the date stamps were declared as unsigned, so that
the difference would never be negative.
args.h
patch
|
blob
|
history
diff --git
a/args.h
b/args.h
index
270866d
..
1ceb1a4
100644
(file)
--- a/
args.h
+++ b/
args.h
@@
-102,8
+102,8
@@
typedef struct {
IcsTextMenuEntry icsTextMenuEntry[ICS_TEXT_MENU_SIZE];
int junk;
-unsigned int saveDate;
-unsigned int dateStamp;
+int saveDate;
+int dateStamp;
Boolean singleList;
Boolean autoClose;
char *homeDir;