| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/editors/madedit/files/ |
Upload File : |
--- src/MadOptionsDialog.cpp.orig 2017-02-01 03:37:19 UTC
+++ src/MadOptionsDialog.cpp
@@ -1176,7 +1176,7 @@ void MadOptionsDialog::WxTreeCtrl1SelCha
{
WxListBoxKeys->Set(g_SelectedCommandItem->keys);
wxString hint=wxT('[');
- if(g_SelectedCommandItem->cmddata->menuid_name > 0)
+ if(g_SelectedCommandItem->cmddata->menuid_name)
{
hint+= wxString(g_SelectedCommandItem->cmddata->menuid_name);
}
@@ -1274,7 +1274,7 @@ void MadOptionsDialog::UpdateKeyHint()
g_CommandItemOfNewKey=tid;
wxString cmd;
- if(tid->cmddata->menuid_name > 0)
+ if(tid->cmddata->menuid_name)
{
cmd+= wxString(tid->cmddata->menuid_name);
}