Patch by Sylvain Petreolle:

'No newline at EOF' warning fix.

svn path=/trunk/; revision=8245
This commit is contained in:
Thomas Bluemel 2004-02-18 13:46:15 +00:00
parent 9cff9f7701
commit d0a5ab9948
6 changed files with 12 additions and 6 deletions

View file

@ -71,3 +71,4 @@ private:
}; };
#endif #endif

View file

@ -57,3 +57,4 @@ void Tnclip::Paste() {
CloseClipboard(); CloseClipboard();
} }

View file

@ -701,3 +701,4 @@ void TConfig::set_bool(bool *boolval, const char *str) {
else if(!stricmp(str, "on")) *boolval = true; else if(!stricmp(str, "on")) *boolval = true;
else *boolval = (bool)atoi(str); else *boolval = (bool)atoi(str);
} }

View file

@ -89,3 +89,4 @@ void TNetwork::SetLocalAddress(char *buf) {
local_address = new char[strlen(buf) + 1]; local_address = new char[strlen(buf) + 1];
strcpy(local_address, buf); strcpy(local_address, buf);
} }

View file

@ -60,3 +60,4 @@ void TScript::initScript (char *filename) {
if(fp) fclose(fp); if(fp) fclose(fp);
fp = fopen(filename, "rt"); fp = fopen(filename, "rt");
} }

View file

@ -90,3 +90,4 @@
} }
#endif #endif
#endif #endif