diff options
author | Brian Paul <[email protected]> | 2004-10-02 15:56:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-10-02 15:56:50 +0000 |
commit | 289ffee2a017308a9a97689662293613dc62d9e9 (patch) | |
tree | 50c065575c736b5fb8012e233f4926e51148334e /src/mesa/shader | |
parent | cbef8c47760425c6e77b57deec8ee52d096040ff (diff) |
fix indentation
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/grammar.c | 18 |
1 files changed, 6 insertions, 12 deletions
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 |