summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-20 23:11:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-20 23:11:43 +0900
commitc79172dfd5a7600300ac215cce1ccc766ec9aa98 (patch)
treeed9cb374cd73a26b51090fc1b783162f9b912318 /src/string.c
parent2acf72455406540f77b7c4809d8bf2bd2878a907 (diff)
downloadmruby-c79172dfd5a7600300ac215cce1ccc766ec9aa98.tar.gz
mruby-c79172dfd5a7600300ac215cce1ccc766ec9aa98.zip
put spaces after if/while
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index c1ba2a655..860551ce8 100644
--- a/src/string.c
+++ b/src/string.c
@@ -30,7 +30,7 @@ static mrb_value mrb_str_subseq(mrb_state *mrb, mrb_value str, mrb_int beg, mrb_
#define RESIZE_CAPA(s,capacity) do {\
s->ptr = (char *)mrb_realloc(mrb, s->ptr, (capacity)+1);\
s->aux.capa = capacity;\
-} while (0)
+} while(0)
void
mrb_str_decref(mrb_state *mrb, mrb_shared_string *shared)