aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.cc')
-rw-r--r--src/dialog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dialog.cc b/src/dialog.cc
index 34928095..ac007315 100644
--- a/src/dialog.cc
+++ b/src/dialog.cc
@@ -32,6 +32,7 @@
#include "dialog.hh"
#include "misc.h"
#include "prefs.h"
+#include "dlib/dlib.h"
/*
* Local Data
@@ -190,7 +191,7 @@ const char *a_Dialog_input(const char *title, const char *msg)
source = (char *)dList_nth_data(prefs.search_urls, i);
if (!source || a_Misc_parse_search_url(source, &label, &url) < 0)
continue;
- pm[j++].label(FL_NORMAL_LABEL, strdup(label));
+ pm[j++].label(FL_NORMAL_LABEL, dStrdup(label));
}
}
ch->tooltip("Select search engine");