fixing indentation

This commit is contained in:
Sam El-Husseini 2017-01-12 16:15:15 -08:00
parent 8c2ecdd42e
commit d40c0763f1

View File

@ -21,12 +21,12 @@ namespace String_ {
//% //%
int compare(StringData *s, StringData *that) { int compare(StringData *s, StringData *that) {
int compareResult = strcmp(s->data, that->data); int compareResult = strcmp(s->data, that->data);
if (compareResult < 0) if (compareResult < 0)
return -1; return -1;
else if (compareResult > 0) else if (compareResult > 0)
return 1; return 1;
return 0; return 0;
} }
//% //%