comparison Gui/cfg.c @ 10718:e3727e92e9d8

1000l
author alex
date Fri, 29 Aug 2003 21:42:51 +0000
parents 57bdcdb061d7
children ec3dac7d17a0
comparison
equal deleted inserted replaced
10717:3cf6b963d08b 10718:e3727e92e9d8
283 char* v = m_option_print(&gui_opts[i],gui_opts[i].p); 283 char* v = m_option_print(&gui_opts[i],gui_opts[i].p);
284 if(v) { 284 if(v) {
285 fprintf( f,"%s = \"%s\"\n",gui_opts[i].name, v); 285 fprintf( f,"%s = \"%s\"\n",gui_opts[i].name, v);
286 free(v); 286 free(v);
287 } else if((int)v == -1) 287 } else if((int)v == -1)
288 mp_msg(MSGT_GPLAYER,MSGL_WARN,"Unable to save the %s option\n"); 288 mp_msg(MSGT_GPLAYER,MSGL_WARN,"Unable to save the '%s' option\n", gui_opts[i].name);
289 } 289 }
290 fclose( f ); 290 fclose( f );
291 } 291 }
292 free( cfg ); 292 free( cfg );
293 293