From 289ffee2a017308a9a97689662293613dc62d9e9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 2 Oct 2004 15:56:50 +0000 Subject: fix indentation --- src/mesa/shader/grammar.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/mesa/shader') 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 -- cgit v1.2.3