Fix segfault when replicant source can't be found
This commit is contained in:
@@ -50,8 +50,9 @@ void handleDestroyFreePixmap (
|
||||
Widget Launcher_XmdReplicantCreate (
|
||||
XtAppContext application,
|
||||
Widget parent,
|
||||
XmdReplicantState *state,
|
||||
XmdReplicantState *state
|
||||
) {
|
||||
(void)(application);
|
||||
String iconName = XmdReplicantStateQuery(state, "Icon");
|
||||
Pixmap icon;
|
||||
#define iconCase(name) if (strcmp(#name, iconName) == 0) {\
|
||||
|
||||
Reference in New Issue
Block a user