Fix a bug introduced with the full path title
This commit is contained in:
parent
3787d7d750
commit
e0fe0f2bd2
|
@ -1202,16 +1202,19 @@ extern "C" DLL_EXPORT duint _dbg_sendmessage(DBGMSG type, void* param1, void* pa
|
||||||
|
|
||||||
// check if we need to change the main window title
|
// check if we need to change the main window title
|
||||||
bool bNewWindowLongPath = settingboolget("Gui", "WindowLongPath");
|
bool bNewWindowLongPath = settingboolget("Gui", "WindowLongPath");
|
||||||
if(DbgIsDebugging() && bWindowLongPath != bNewWindowLongPath)
|
if(bWindowLongPath != bNewWindowLongPath)
|
||||||
{
|
{
|
||||||
bWindowLongPath = bNewWindowLongPath;
|
bWindowLongPath = bNewWindowLongPath;
|
||||||
duint addr = 0;
|
if(DbgIsDebugging())
|
||||||
SELECTIONDATA selection;
|
{
|
||||||
if(GuiSelectionGet(GUI_DISASSEMBLY, &selection))
|
duint addr = 0;
|
||||||
addr = selection.start;
|
SELECTIONDATA selection;
|
||||||
else
|
if(GuiSelectionGet(GUI_DISASSEMBLY, &selection))
|
||||||
addr = GetContextDataEx(hActiveThread, UE_CIP);
|
addr = selection.start;
|
||||||
DebugUpdateTitleAsync(addr, false);
|
else
|
||||||
|
addr = GetContextDataEx(hActiveThread, UE_CIP);
|
||||||
|
DebugUpdateTitleAsync(addr, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(BridgeSettingGet("Symbols", "CachePath", settingText.data()))
|
if(BridgeSettingGet("Symbols", "CachePath", settingText.data()))
|
||||||
|
|
Loading…
Reference in New Issue