#383 FileNameDialog filemask

3.2.0
closed
5
2012-08-14
2007-08-11
Lee Peedin
No

If the filemask string is not terminated with a '0'x the dialog will produce a line of "garbage" in the file type pull down.

ooDialog should automatically add this termination if the user does not supply it.

Discussion

  • Lee Peedin

    Lee Peedin - 2007-08-11
     
  • Lee Peedin

    Lee Peedin - 2007-08-11

    Logged In: YES
    user_id=1223125
    Originator: YES

    see attached image file
    File Added: Clipboard01.jpg

     
  • Mark Miesfeld

    Mark Miesfeld - 2007-08-11

    Logged In: YES
    user_id=191588
    Originator: NO

    Committed revision 669.

    Added code in ooDialog to supply the second required NULL.

    The underlying C function requires that the 'filter' argument be terminated with 2 NULLs rather than the normal 1 NULL.

    This is easily done by the implementors ooDialog, who should understand this requirement. On the other hand, it seems unreasonable to me to expect the ooRexx programmer to understand this requirement.

    Although a documentation update could have been done to specify that the ooRexx programmer needs to add a '0'x to the end of the argument, this is the type of detail that I think ooDialog is designed to hide.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks