#ifdef MOZ_MAIL_NEWS stuff we don't use anymore.

This commit is contained in:
pinkerton%netscape.com 1998-08-25 20:31:48 +00:00
Родитель 82f12c7803
Коммит f70b8bf9ec
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1470,6 +1470,7 @@ void CPrefs::ReadPreference(short index)
case BufferSize: case BufferSize:
value = value * BUFFER_SCALE; // was in K, now in bytes value = value * BUFFER_SCALE; // was in K, now in bytes
break; break;
#ifdef MOZ_MAILNEWS
case MailHeaderDisplay: case MailHeaderDisplay:
switch (value) { // see msgprefs.cpp switch (value) { // see msgprefs.cpp
case SHOW_ALL_HEADERS: case SHOW_ALL_HEADERS:
@ -1483,6 +1484,7 @@ void CPrefs::ReadPreference(short index)
break; break;
} }
break; break;
#endif
} }
SetLong(value, prefLoc[index].prefID); SetLong(value, prefLoc[index].prefID);
} }
@ -2023,10 +2025,12 @@ Boolean CPrefs::SetLong(Int32 value, PrefEnum id)
case AskMozPassword: case AskMozPassword:
ConstrainTo(-1, 1, value); // See secnav.h, SECNAV_SetPasswordPrefs ConstrainTo(-1, 1, value); // See secnav.h, SECNAV_SetPasswordPrefs
break; break;
#ifdef MOZ_MAILNEWS
case SortMailBy: case SortMailBy:
case SortNewsBy: case SortNewsBy:
ConstrainTo(MAIL_SORT_BY_DATE, MAIL_SORT_BY_SENDER, value); // See secnav.h, SECNAV_SetPasswordPrefs ConstrainTo(MAIL_SORT_BY_DATE, MAIL_SORT_BY_SENDER, value); // See secnav.h, SECNAV_SetPasswordPrefs
break; break;
#endif
default: default:
break; break;
} }