From cac49afdef0992b93d8718fd928d73d721d434f4 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 20 May 2014 20:33:25 -0700 Subject: :%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ]\)\@! */\1 / --- src/map/magic-interpreter-base.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/magic-interpreter-base.cpp') diff --git a/src/map/magic-interpreter-base.cpp b/src/map/magic-interpreter-base.cpp index b2ed0a5..2cc83b4 100644 --- a/src/map/magic-interpreter-base.cpp +++ b/src/map/magic-interpreter-base.cpp @@ -188,7 +188,7 @@ dumb_ptr spell_create_env(magic_conf_t *conf, dumb_ptr spell, default: FPRINTF(stderr, "Unexpected spellarg type %d\n"_fmt, - spell->spellarg_ty); + spell->spellarg_ty); } set_env_entity(VAR_CASTER, caster); @@ -519,8 +519,8 @@ void spell_bind(dumb_ptr subject, dumb_ptr invocat { int *i = NULL; FPRINTF(stderr, - "[magic] INTERNAL ERROR: Attempt to re-bind spell invocation `%s'\n"_fmt, - invocation->spell->name); + "[magic] INTERNAL ERROR: Attempt to re-bind spell invocation `%s'\n"_fmt, + invocation->spell->name); *i = 1; return; } -- cgit v1.2.3-70-g09d2