From: Brian Paul Date: Sat, 2 Oct 2004 15:56:50 +0000 (+0000) Subject: fix indentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=289ffee2a017308a9a97689662293613dc62d9e9;p=mesa.git fix indentation --- diff --git a/src/mesa/shader/grammar.c b/src/mesa/shader/grammar.c index fa2e96901d5..47defd6bfa5 100644 --- a/src/mesa/shader/grammar.c +++ b/src/mesa/shader/grammar.c @@ -2771,29 +2771,23 @@ void grammar_get_last_error (byte *text, unsigned int size, int *pos) }\ } - if (p) - { - while (*p) - { - if (*p == '$') - { + if (p) { + while (*p) { + if (*p == '$') { const byte *r = error_param; - while (*r) - { + while (*r) { APPEND_CHARACTER(*r) r++; } - p++; } - else - { + else { APPEND_CHARACTER(*p) p++; } - } } + } *pos = error_position; #undef APPEND_CHARACTER