mirror of
https://github.com/zeldaret/oot
synced 2026-05-26 23:47:38 -04:00
Remove many redundant parentheses (eg. in boolean conditions) (#1220)
* Remove many unnecessary parens around boolean conditions * Remove duplicate parens in some expressions * Apply review suggestions * Update src/overlays/actors/ovl_Bg_Jya_Lift/z_bg_jya_lift.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ void func_8006376C(u8 x, u8 y, u8 colorId, const char* text) {
|
||||
|
||||
i = 0;
|
||||
bufText = buf->text;
|
||||
while ((*bufText++ = *text++)) {
|
||||
while ((*bufText++ = *text++) != '\0') {
|
||||
if (i++ > 0x14) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user