Ignore:
Timestamp:
Oct 28, 2006, 11:08:17 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added missing \0 at end of strings (hahaha vieux porc).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cacamoo/trunk/src/main.c

    r1252 r1253  
    365365        return NULL;
    366366    }
    367 
     367    temp[s] = '\0';
    368368
    369369    temp = remove_comments(temp);
     
    706706        for(i = 0; i < *max_width+2; i++)
    707707            scaled[t++] = '-';
     708        scaled[t] = '\0';
    708709
    709710        free(ret);
Note: See TracChangeset for help on using the changeset viewer.