comparison dwtest.c @ 629:a5deb87b26e4

Add support for using initial directory in dw_file_browse()
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 22 Oct 2008 02:14:34 +0000
parents 77cc62375fee
children c6a216c8174f
comparison
equal deleted inserted replaced
628:7d93356f250a 629:a5deb87b26e4
435 } 435 }
436 436
437 int DWSIGNAL browse_callback(HWND window, void *data) 437 int DWSIGNAL browse_callback(HWND window, void *data)
438 { 438 {
439 char *tmp; 439 char *tmp;
440 tmp = dw_file_browse("test string", NULL, "c", DW_FILE_OPEN ); 440 tmp = dw_file_browse("test string", ".", "c", DW_FILE_OPEN );
441 if ( tmp ) 441 if ( tmp )
442 { 442 {
443 if ( current_file ) 443 if ( current_file )
444 { 444 {
445 dw_free( current_file ); 445 dw_free( current_file );