* shared.cc (shared_info::heap_chunk_size): Use correct variable when reading

HKLM.
This commit is contained in:
Christopher Faylor
2003-01-31 15:02:40 +00:00
parent 28c098e3f4
commit 485d85bfa7
2 changed files with 6 additions and 1 deletions

View File

@ -245,7 +245,7 @@ shared_info::heap_chunk_size ()
reg_key r1 (HKEY_LOCAL_MACHINE, KEY_READ, "SOFTWARE",
CYGWIN_INFO_CYGNUS_REGISTRY_NAME,
CYGWIN_INFO_CYGWIN_REGISTRY_NAME, NULL);
heap_chunk = reg.get_int ("heap_chunk_in_mb", 384);
heap_chunk = r1.get_int ("heap_chunk_in_mb", 384);
}
if (heap_chunk < 4)