mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
Patch by Sylvain Petreolle:
'No newline at EOF' warning fix. svn path=/trunk/; revision=8245
This commit is contained in:
@@ -70,4 +70,5 @@ private:
|
||||
void SetLocalAddress(SOCKET s);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -56,4 +56,5 @@ void Tnclip::Paste() {
|
||||
GlobalUnlock(clipboard_data);
|
||||
|
||||
CloseClipboard();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -59,4 +59,5 @@ BOOL TScript::processScript (char* data) {
|
||||
void TScript::initScript (char *filename) {
|
||||
if(fp) fclose(fp);
|
||||
fp = fopen(filename, "rt");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -89,4 +89,5 @@
|
||||
#if defined (__cplusplus)
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user