version 1.1 | | version 1.2 |
---|
| | |
* Code for localizable text | | * Code for localizable text |
* | | * |
* $Log$ | | * $Log$ |
* Revision 1.1 1999/06/14 22:11:47 donut | | * Revision 1.2 1999/10/20 07:07:00 donut |
* Initial revision | | * 'fix' compiler warning (popped up with cygwin and -O3) |
| | * |
| | * Revision 1.1.1.1 1999/06/14 22:11:47 donut |
| | * Import of d1x 1.37 source. |
* | | * |
* Revision 2.0 1995/02/27 11:33:09 john | | * Revision 2.0 1995/02/27 11:33:09 john |
* New version 2.0, which has no anonymous unions, builds with | | * New version 2.0, which has no anonymous unions, builds with |
| | |
| | |
//scan for special chars (like \n) | | //scan for special chars (like \n) |
for (p=Text_string[i];(p=strchr(p,'\\'));) { | | for (p=Text_string[i];(p=strchr(p,'\\'));) { |
char newchar; | | char newchar=0;//get rid of compiler warning |
| | |
if (p[1] == 'n') newchar = '\n'; | | if (p[1] == 'n') newchar = '\n'; |
else if (p[1] == 't') newchar = '\t'; | | else if (p[1] == 't') newchar = '\t'; |