Code

screen_utils: automatically append "[y/n]"
[ncmpc.git] / src / screen_lyrics.c
index 0bce7c4c54bdd702afcbc74a435c37f546c34824..11786c1a9e778ee503983645e468a8b63760a4fd 100644 (file)
@@ -363,11 +363,9 @@ lyrics_edit(void)
        }
 
        if (options.text_editor_ask) {
-               char *buf = g_strdup_printf(
-                   _("Do you really want to start an editor and edit these lyrics [%s/%s]? "),
-                                           YES, NO);
-               bool really = screen_get_yesno(buf, false);
-               g_free(buf);
+               const char *prompt =
+                       _("Do you really want to start an editor and edit these lyrics?");
+               bool really = screen_get_yesno(prompt, false);
                if (!really) {
                        screen_status_message(_("Aborted"));
                        return;