Ignore:
Timestamp:
Aug 27, 2007, 6:11:21 PM (14 years ago)
Author:
Eugene Romanenko
Message:

fix for ticket #86, testing needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/lucide.cpp

    r237 r238  
    588588void Lucide::openDocument()
    589589{
    590     char dirbuf[ CCHMAXPATH ];
    591590    PFILEDLG fd = new FILEDLG;
    592591    memset( fd, 0, sizeof( FILEDLG ) );
     
    594593    fd->fl = FDS_CENTER | FDS_OPEN_DIALOG;
    595594    PrfQueryProfileString( HINI_USERPROFILE, appName, lvd, "",
    596                            dirbuf, sizeof( dirbuf ) );
    597     snprintf( fd->szFullFile, sizeof( fd->szFullFile ),
    598               "%s%s", dirbuf, pluginMan->getExtsMask().c_str() );
     595                           fd->szFullFile, sizeof( fd->szFullFile ) );
    599596    LcdFileDlg( HWND_DESKTOP, hWndFrame, fd );
    600597    if ( fd->lReturn == DID_OK )
Note: See TracChangeset for help on using the changeset viewer.