There was it again,
wrong file extension for the patch (ok, there wasn't really an extension)
Bert
---
source/preferences.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
diff --quilt old/source/preferences.c new/source/preferences.c
--- old/source/preferences.c
+++ new/source/preferences.c
@@ -322,10 +322,11 @@ static struct prefData {
int undoModifiesSelection;
int focusOnRaise;
Boolean honorSymlinks;
int truncSubstitution;
Boolean forceOSConversion;
+ Boolean dummyBool;
} PrefData;
/* Temporary storage for preferences strings which are discarded after being
read */
static struct {
@@ -1070,11 +1071,13 @@ static PrefDescripRec PrefDescrip[] = {
{"forceOSConversion", "ForceOSConversion", PREF_BOOLEAN, "True",
&PrefData.forceOSConversion, NULL, False},
{"truncSubstitution", "TruncSubstitution", PREF_ENUM, "Fail",
&PrefData.truncSubstitution, TruncSubstitutionModes, False},
{"honorSymlinks", "HonorSymlinks", PREF_BOOLEAN, "True",
- &PrefData.honorSymlinks, NULL, False}
+ &PrefData.honorSymlinks, NULL, False},
+ {"dummyBool", "DummyBool", PREF_BOOLEAN, "True",
+ &PrefData.dummyBool, NULL, False}
};
static XrmOptionDescRec OpTable[] = {
{"-wrap", ".autoWrap", XrmoptionNoArg, (caddr_t)"Continuous"},
{"-nowrap", ".autoWrap", XrmoptionNoArg, (caddr_t)"None"},
@@ -1264,13 +1267,15 @@ void RestoreNEditPrefs(XrmDatabase prefD
int major; /* The integral part of version number */
int minor; /* fractional part of version number */
int fileVer = 0; /* Both combined into an integer */
int nparsed;
+ fprintf(stderr, "%s: %p\n", __func__, &TempStringPrefs.shellCmds);
/* Load preferences */
RestorePreferences(prefDB, appDB, APP_NAME,
APP_CLASS, PrefDescrip, XtNumber(PrefDescrip));
+ fprintf(stderr, "%s: \"%s\"\n", __func__, TempStringPrefs.shellCmds);
/* If the preferences file was written by an older version of NEdit,
warn the user that it will be converted. */
requiresConversion = PrefData.prefFileRead &&
PrefData.fileVersion[0] == '\0';
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop