changeset 18743:087415a46292

respect saved default for cache enable when nothing specified on command-line
author reimar
date Sat, 17 Jun 2006 20:54:27 +0000
parents da5ceabe9a43
children 212b36a111f3
files Gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();