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
return -1; /* a comes first */
if (!strcmp(b, "Default Settings"))
return +1; /* b comes first */
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 */
}
return strcmp(a, b); /* otherwise, compare normally */
}