Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 165c901

Browse files
committed
FALSE->non-zero
1 parent 5e28454 commit 165c901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appshell/appshell_extensions_win.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ bool hasUTF16_32(UTFValidationState& validationState)
758758
// Check to see if buffer is UTF-16 or UTF-32 with or without a BOM
759759
BOOL test = IsTextUnicode(validationState.data, validationState.dataLen, &flags);
760760

761-
validationState.utf1632 = ((test != FALSE) ? CS_YES : CS_NO);
761+
validationState.utf1632 = (test ? CS_YES : CS_NO);
762762
}
763763

764764
return (validationState.utf1632 == CS_YES);

0 commit comments

Comments
 (0)