mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
git-svn-id: svn://ultimatepp.org/upp/trunk@524 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ddc460cb8a
commit
8c46fd4491
2 changed files with 4 additions and 2 deletions
|
|
@ -1524,7 +1524,9 @@ String ReadStdIn()
|
|||
String r;
|
||||
for(;;) {
|
||||
int c = getchar();
|
||||
if(c < 0 || c == '\n')
|
||||
if(c < 0)
|
||||
return r.GetCount() ? r : String::GetVoid();
|
||||
if(c == '\n')
|
||||
return r;
|
||||
r.Cat(c);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ void AutoSetup()
|
|||
|
||||
dlg.mysql <<= NormalizePathNN(GetWinRegString("Location", "SOFTWARE\\MySQL AB\\MySQL Server 4.1"));
|
||||
|
||||
String sdl = NormalizePathNN(ConfigFile("SDL-1.2.9"));
|
||||
String sdl = NormalizePathNN(ConfigFile("sdl"));
|
||||
if(DirectoryExists(sdl))
|
||||
dlg.sdl <<= sdl;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue