Fix GCC2 build. Thanks to John for the warning.
This commit is contained in:
parent
a6ea4a194f
commit
4a65972ac4
|
@ -1512,7 +1512,7 @@ StyledEditWindow::_ReloadDocument(BMessage* message)
|
||||||
} else {
|
} else {
|
||||||
if (charset != NULL) {
|
if (charset != NULL) {
|
||||||
// UTF8 id assumed equal to -1
|
// UTF8 id assumed equal to -1
|
||||||
const uint32 idUTF8 = -1;
|
const uint32 idUTF8 = (uint32)-1;
|
||||||
uint32 id = charset->GetConversionID();
|
uint32 id = charset->GetConversionID();
|
||||||
if (strcmp(forceEncoding, "next") == 0)
|
if (strcmp(forceEncoding, "next") == 0)
|
||||||
id = id == B_MS_WINDOWS_1250_CONVERSION ? idUTF8 : id + 1;
|
id = id == B_MS_WINDOWS_1250_CONVERSION ? idUTF8 : id + 1;
|
||||||
|
|
Loading…
Reference in New Issue