diff options
author | Michal Krol <michal@vmware.com> | 2009-09-17 12:14:12 +0200 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-09-17 12:14:12 +0200 |
commit | 4fcda5000eed29b7c2ba70506ae34b209239eec6 (patch) | |
tree | a35c984922b8b61a16c8c519a9eebb0429e03fb3 /src/glsl | |
parent | ce8f486156f5c4b28b51954ea862675275c38f6d (diff) |
slang/pp: Fix file number parsing.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/pp/sl_pp_line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/pp/sl_pp_line.c b/src/glsl/pp/sl_pp_line.c index c38f4b0f2e..504c20ebcd 100644 --- a/src/glsl/pp/sl_pp_line.c +++ b/src/glsl/pp/sl_pp_line.c @@ -110,7 +110,7 @@ sl_pp_process_line(struct sl_pp_context *context, if (file_number != -1) { unsigned int file; - file_number = atoi(sl_pp_context_cstr(context, file_number)); + file = atoi(sl_pp_context_cstr(context, file_number)); if (context->file != file) { struct sl_pp_token_info ti; |