Browse Source

formatting

Steven Hall 8 năm trước cách đây
mục cha
commit
241db014ec
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      src/runtime/gravity_core.c

+ 4 - 4
src/runtime/gravity_core.c

@@ -1577,7 +1577,7 @@ static bool string_upper (gravity_vm *vm, gravity_value_t *args, uint16_t nargs,
 
 				// If it is all uppercase already, go to the next argument
 				if (is_all_upper) {
-				 continue;
+					continue;
 				}
 
 				// Otherwise, parse it, and uppercase it.
@@ -1585,7 +1585,7 @@ static bool string_upper (gravity_vm *vm, gravity_value_t *args, uint16_t nargs,
 					char *ptr = strstr(ret, search_str->s);
 
 					if (ptr == NULL) {
-					 break;
+						break;
 					}
 
 					int match_index_ret = ptr - ret;
@@ -1652,7 +1652,7 @@ static bool string_lower (gravity_vm *vm, gravity_value_t *args, uint16_t nargs,
 
 				// If it is all lowercase already, go to the next argument
 				if (is_all_lower) {
-				 continue;
+					continue;
 				}
 
 				// Otherwise, parse it, and lowercase it.
@@ -1660,7 +1660,7 @@ static bool string_lower (gravity_vm *vm, gravity_value_t *args, uint16_t nargs,
 					char *ptr = strstr(ret, search_str->s);
 
 					if (ptr == NULL) {
-					 break;
+						break;
 					}
 
 					int match_index_ret = ptr - ret;