# HG changeset patch # User reimar # Date 1150577667 0 # Node ID 087415a462925baad3028ece6b415868a419e083 # Parent da5ceabe9a43ca89a77a33be8431361a4f1d2961 respect saved default for cache enable when nothing specified on command-line diff -r da5ceabe9a43 -r 087415a46292 Gui/interface.c --- a/Gui/interface.c Sat Jun 17 19:43:13 2006 +0000 +++ b/Gui/interface.c Sat Jun 17 20:54:27 2006 +0000 @@ -213,7 +213,7 @@ if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" ); #endif if ( stream_cache_size > 0 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; } - else gtkCacheOn = 0; + else if ( stream_cache_size == 0 ) gtkCacheOn = 0; if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; } gtkInit();