mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1151541, part 3 - Fix leading tabs in xpcom/. r=froydnj
This commit is contained in:
parent
e2c2eeb647
commit
2881daa7dd
@ -15,15 +15,16 @@ namespace TestCRT {
|
||||
// The return from strcmp etc is only defined to be postive, zero or
|
||||
// negative. The magnitude of a non-zero return is irrelevant.
|
||||
int sign(int val) {
|
||||
if (val == 0)
|
||||
if (val == 0) {
|
||||
return 0;
|
||||
else {
|
||||
if (val > 0)
|
||||
} else {
|
||||
if (val > 0) {
|
||||
return 1;
|
||||
else
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Verify that nsCRT versions of string comparison routines get the
|
||||
|
Loading…
Reference in New Issue
Block a user