Permalink
Browse files

Fixed tab sizes broken by TextMate...

  • Loading branch information...
1 parent 9fe6672 commit 2714fc4ad90696636607464c4454a20d85dbe6c7 @ioseb committed Oct 31, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 uri_template_parser.c
View
@@ -228,13 +228,13 @@ void uri_template_parse(char *tpl, zval *return_value, zval *vars, zval *capture
smart_str_appendc(&result, *(++tpl));
smart_str_appendc(&result, *(++tpl));
} else {
- int result_len = result.len;
- int distance = 0;
-
- uri_template_substr_copy(&result, tpl, 1, URI_TEMPLATE_ALLOW_RESERVED);
+ int result_len = result.len;
+ int distance = 0;
+
+ uri_template_substr_copy(&result, tpl, 1, URI_TEMPLATE_ALLOW_RESERVED);
- distance = result.len - result_len;
- tpl += (distance % 3 ? 1 : distance / 3) - 1;
+ distance = result.len - result_len;
+ tpl += (distance % 3 ? 1 : distance / 3) - 1;
}
}

0 comments on commit 2714fc4

Please sign in to comment.