CVS update
[nedit-bw.git] / scrolltip-enable-opt.patch
blob9d641a1e96dc3a7dc613f82726d56a1f925502a9
1 ---
3 source/preferences.c | 7 +++----
4 1 files changed, 3 insertions(+), 4 deletions(-)
6 diff --quilt old/source/preferences.c new/source/preferences.c
7 --- old/source/preferences.c
8 +++ new/source/preferences.c
9 @@ -1198,12 +1198,12 @@ static PrefDescripRec PrefDescrip[] = {
10 &PrefData.truncSubstitution, TruncSubstitutionModes, False},
11 {"honorSymlinks", "HonorSymlinks", PREF_BOOLEAN, "True",
12 &PrefData.honorSymlinks, NULL, False},
13 {"showCursorline", "ShowCursorline", PREF_BOOLEAN, "True",
14 &PrefData.showCursorline, NULL, True},
15 -// {"showScrolltip", "ShowScrolltip", PREF_BOOLEAN, "True",
16 -// &PrefData.showScrolltip, NULL, False},
17 + {"showScrolltip", "ShowScrolltip", PREF_BOOLEAN, "True",
18 + &PrefData.showScrolltip, NULL, False},
19 {"hardlinkMode", "HardlinkMode", PREF_ENUM, "Ignore",
20 &PrefData.hardlinkMode, HardlinkModes, True},
21 {"zeroSizedMode", "ZeroSizedMode", PREF_ENUM, "Never",
22 &PrefData.zeroSizedMode, ZeroSizedModes, True},
23 {"coloredWinMenu", "ColoredWinMenu", PREF_BOOLEAN, "True",
24 @@ -2427,12 +2427,11 @@ Boolean GetPrefShowCursorline(void)
25 return PrefData.showCursorline;
28 Boolean GetPrefShowScrolltip(void)
30 - //return PrefData.showScrolltip;
31 - return True;
32 + return PrefData.showScrolltip;
35 void SetPrefHardlinkMode(int mode)
37 setIntPref(&PrefData.hardlinkMode, mode);