Fix cmdline '-n' param not working and wrong cursor position regression
When file is opened via "Edit with Notepad++", cursor position is placed on the 2nd position instead of the first. This fixes the signed/unsigned mismatch there arisen from the current 2GB+ changes. Fix #11131, close #11132
This commit is contained in:
parent
9fccc37987
commit
deb99ae45b
|
@ -6125,7 +6125,7 @@ std::vector<generic_string> Notepad_plus::loadCommandlineParams(const TCHAR * co
|
|||
generic_string udl = pCmdParams->_udlName;
|
||||
int lineNumber = pCmdParams->_line2go;
|
||||
int columnNumber = pCmdParams->_column2go;
|
||||
size_t positionNumber = pCmdParams->_pos2go;
|
||||
intptr_t positionNumber = pCmdParams->_pos2go;
|
||||
bool recursive = pCmdParams->_isRecursive;
|
||||
bool readOnly = pCmdParams->_isReadOnly;
|
||||
bool openFoldersAsWorkspace = pCmdParams->_openFoldersAsWorkspace;
|
||||
|
|
Loading…
Reference in New Issue