Am 05.03.2010 20:09 schrieb Torsten Giebl:

>> Modified: branches/branch-1.3/src/Fl_File_Chooser2.cxx
>> ===================================================================
>> --- branches/branch-1.3/src/Fl_File_Chooser2.cxx     2010-03-05 13:03:10 UTC 
>> (rev 7218)
>> +++ branches/branch-1.3/src/Fl_File_Chooser2.cxx     2010-03-05 18:53:00 UTC 
>> (rev 7219)
  ...
>>     // Get a directory name from the user
>> -  if ((dir = fl_input(new_directory_label, NULL)) == NULL)
>> +  if ((dir = fl_input("%s", NULL, new_directory_label)) == NULL)
>>       return;
>
> if ((dir = fl_input("%s", NULL, new_directory_label)) == NULL)
>
> NULL and new_directory_label should swap places here or not ?

No, I don't think so.  The 2nd argument is the preset string for
fl_input, the 3rd and following are the variable arguments for
the format string in argument #1.

I've tested it and it worked as expected, but if I overlooked
anything ... ?

Thanks for your hint anyway, it's appreciated.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to