]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/lex.c
Add a function to calculate the normalmap from a regular texture.
[simgear.git] / simgear / nasal / lex.c
index adc08e176e56de5014f0cec8675152808486b426..1cb3a22a728fe129e6210fa24c6b3019906561b7 100644 (file)
@@ -58,7 +58,6 @@ static int* findLines(struct Parser* p)
 
         // Skip over the \r of a \r\n pair.
         if(buf[i] == '\r' && (i+1)<p->len && buf[i+1] == '\n') {
-            i++;
             continue;
         }
         // Reallocate if necessary