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

@ -70,4 +70,5 @@ private:
void SetLocalAddress(SOCKET s);
};
#endif
#endif

View file

@ -56,4 +56,5 @@ void Tnclip::Paste() {
GlobalUnlock(clipboard_data);
CloseClipboard();
}
}

View file

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

View file

@ -88,4 +88,5 @@ void TNetwork::do_naws(int width, int height) {
void TNetwork::SetLocalAddress(char *buf) {
local_address = new char[strlen(buf) + 1];
strcpy(local_address, buf);
}
}

View file

@ -59,4 +59,5 @@ BOOL TScript::processScript (char* data) {
void TScript::initScript (char *filename) {
if(fp) fclose(fp);
fp = fopen(filename, "rt");
}
}

View file

@ -89,4 +89,5 @@
#if defined (__cplusplus)
}
#endif
#endif
#endif