From: H.G.Muller Date: Mon, 10 Nov 2014 13:29:25 +0000 (+0100) Subject: Fix -addMasterOption option X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f20437d1625a79564d9e3e4dc1e8a701709569f3;hp=eecd1740d464edeae7388d0d667c203867fb2951;p=xboard.git Fix -addMasterOption option 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. --- diff --git a/args.h b/args.h index 270866d..1ceb1a4 100644 --- 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;