From: simon Date: Tue, 13 Nov 2001 22:39:46 +0000 (+0000) Subject: Modify a comment to try to remind myself that the &-in-session-names X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/78a8d8891f868325ed4ca543124344dbede4bde4 Modify a comment to try to remind myself that the &-in-session-names hack (to create accelerators on the System menu) should have some official status. git-svn-id: svn://svn.tartarus.org/sgt/putty@1381 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/settings.c b/settings.c index dbd745e6..267b46d6 100644 --- a/settings.c +++ b/settings.c @@ -534,6 +534,10 @@ static int sessioncmp(const void *av, const void *bv) return -1; /* a comes first */ if (!strcmp(b, "Default Settings")) return +1; /* b comes first */ + /* + * FIXME: perhaps we should ignore the first & in determining + * sort order. + */ return strcmp(a, b); /* otherwise, compare normally */ }