This commit is contained in:
mcmullen%netscape.com 1999-04-21 22:55:37 +00:00
Родитель 69afbec822
Коммит 9a4af42537
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1527,7 +1527,7 @@ PREF_GetDefaultRectPref(const char *pref_name, int16 *left, int16 *top, int16 *r
PrefResult result = PREF_GetDefaultCharPref(pref_name, (char *)&rectstr, &iLen); PrefResult result = PREF_GetDefaultCharPref(pref_name, (char *)&rectstr, &iLen);
if (result == PREF_NOERROR) { if (result == PREF_NOERROR) {
sscanf(rectstr, "%d,%d,%d,%d", left, top, right, bottom); sscanf(rectstr, "%hd,%hd,%hd,%hd", left, top, right, bottom);
} }
return result; return result;
} }

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

@ -1527,7 +1527,7 @@ PREF_GetDefaultRectPref(const char *pref_name, int16 *left, int16 *top, int16 *r
PrefResult result = PREF_GetDefaultCharPref(pref_name, (char *)&rectstr, &iLen); PrefResult result = PREF_GetDefaultCharPref(pref_name, (char *)&rectstr, &iLen);
if (result == PREF_NOERROR) { if (result == PREF_NOERROR) {
sscanf(rectstr, "%d,%d,%d,%d", left, top, right, bottom); sscanf(rectstr, "%hd,%hd,%hd,%hd", left, top, right, bottom);
} }
return result; return result;
} }