Changeset 235 for trunk/Lucide


Ignore:
Timestamp:
Aug 25, 2007, 12:44:02 PM (14 years ago)
Author:
Eugene Romanenko
Message:

fix next/prev

File:
1 edited

Legend:

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

    r234 r235  
    4343#include <set>
    4444#include <stdio.h>
     45#include <stdlib.h>
    4546#include <process.h>
    4647#include <dos.h>
     
    419420        else
    420421        {
    421             strcpy( docFullName, fn );
     422            _fullpath( docFullName, fn, CCHMAXPATH );
     423
    422424            if ( password != NULL ) {
    423425                delete password;
     
    451453                    char _fn[ _MAX_FNAME ];
    452454                    char _ex[ _MAX_EXT ];
    453                     _splitpath( fn, _dr, _di, _fn, _ex );
     455                    _splitpath( docFullName, _dr, _di, _fn, _ex );
    454456                    strcpy( docDirName, _dr );
    455457                    strcat( docDirName, _di );
     
    540542    } // ( pluginMan->createDocumentForFile( fn, true ) == NULL )
    541543    delete msg;
     544
     545    loadFileList();
    542546}
    543547
     
    604608
    605609        loadDocument( fd->szFullFile );
    606         loadFileList();
    607610    }
    608611    delete fd;
Note: See TracChangeset for help on using the changeset viewer.