diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-10-15 01:55:59 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-10-15 01:55:59 +0200 |
commit | 555734fcd3aef4c83605d70d0456dda28b7b5ace (patch) | |
tree | 9c34fe5bc58d5f3d4c0a7622045adc7aa1d17a98 /crawl-ref/source/dbg-util.cc | |
parent | acf5187334f2cfb983a1a8de07d1e77f73e4283a (diff) | |
download | crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.tar.gz crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.zip |
Massive spacing fixes: "( spaces after parentheses )".
I did review it manually to find places where they made sense (like some
tables), but for a massive sed job like this there might be places that
I missed.
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r-- | crawl-ref/source/dbg-util.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc index f9c508b1cf..e7d8a0b6d1 100644 --- a/crawl-ref/source/dbg-util.cc +++ b/crawl-ref/source/dbg-util.cc @@ -30,7 +30,7 @@ // If !nonneg, then it returns an integer, and 0 on fail // //--------------------------------------------------------------- -int debug_prompt_for_int( const char *prompt, bool nonneg ) +int debug_prompt_for_int(const char *prompt, bool nonneg) { char specs[80]; @@ -40,7 +40,7 @@ int debug_prompt_for_int( const char *prompt, bool nonneg ) return (nonneg ? -1 : 0); char *end; - int ret = strtol( specs, &end, 10 ); + int ret = strtol(specs, &end, 10); if (ret < 0 && nonneg || ret == 0 && end == specs) ret = (nonneg ? -1 : 0); @@ -367,9 +367,9 @@ int debug_prompt_for_skill(const char *prompt) continue; char sk_name[80]; - strncpy( sk_name, skill_name(i), sizeof( sk_name ) ); + strncpy(sk_name, skill_name(i), sizeof(sk_name)); - char *ptr = strstr( strlwr(sk_name), strlwr(specs) ); + char *ptr = strstr(strlwr(sk_name), strlwr(specs)); if (ptr != NULL) { if (ptr == sk_name && strlen(specs) > 0) |