mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 18:21:23 +00:00
Patch by Sylvain Petreolle:
'No newline at EOF' warning fix. svn path=/trunk/; revision=8245
This commit is contained in:
parent
9cff9f7701
commit
d0a5ab9948
6 changed files with 12 additions and 6 deletions
|
@ -70,4 +70,5 @@ private:
|
||||||
void SetLocalAddress(SOCKET s);
|
void SetLocalAddress(SOCKET s);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -56,4 +56,5 @@ void Tnclip::Paste() {
|
||||||
GlobalUnlock(clipboard_data);
|
GlobalUnlock(clipboard_data);
|
||||||
|
|
||||||
CloseClipboard();
|
CloseClipboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -700,4 +700,5 @@ void TConfig::set_bool(bool *boolval, const char *str) {
|
||||||
if(!stricmp(str, "true")) *boolval = true;
|
if(!stricmp(str, "true")) *boolval = true;
|
||||||
else if(!stricmp(str, "on")) *boolval = true;
|
else if(!stricmp(str, "on")) *boolval = true;
|
||||||
else *boolval = (bool)atoi(str);
|
else *boolval = (bool)atoi(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,4 +88,5 @@ void TNetwork::do_naws(int width, int height) {
|
||||||
void TNetwork::SetLocalAddress(char *buf) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,5 @@ BOOL TScript::processScript (char* data) {
|
||||||
void TScript::initScript (char *filename) {
|
void TScript::initScript (char *filename) {
|
||||||
if(fp) fclose(fp);
|
if(fp) fclose(fp);
|
||||||
fp = fopen(filename, "rt");
|
fp = fopen(filename, "rt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -89,4 +89,5 @@
|
||||||
#if defined (__cplusplus)
|
#if defined (__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue