X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c6099b79e8f38a6dd53f96e6d55cb5a81f568f7..a8e9860d9fa86d3cf354b0b05739da379d3e9ae1:/src/common/menucmn.cpp

diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp
index 0f49207fd0..731b154254 100644
--- a/src/common/menucmn.cpp
+++ b/src/common/menucmn.cpp
@@ -206,6 +206,7 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
                     {
                         wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
                                    current.c_str());
+                        return NULL;
                     }
                 }
             }