shithub: orca

Download patch

ref: 6d59f515a10835ce68c22e374a51b571c7a3bd0b
parent: e3a979ce631b8a32dd75280d2fae889b10cc0eec
author: cancel <cancel@cancel.fm>
date: Wed Jan 15 16:59:47 EST 2020

Cleanup

--- a/sysmisc.c
+++ b/sysmisc.c
@@ -349,7 +349,7 @@
   return err;
 }
 
-char const *ezconf_w_error_string(Ezconf_w_error error) {
+char const *ezconf_w_errorstring(Ezconf_w_error error) {
   switch (error) {
   case Ezconf_w_ok:
     return "No error";
--- a/sysmisc.h
+++ b/sysmisc.h
@@ -105,7 +105,7 @@
   Ezconf_w_unknown_error,
 } Ezconf_w_error;
 
-char const *ezconf_w_error_string(Ezconf_w_error error);
+char const *ezconf_w_errorstring(Ezconf_w_error error);
 
 typedef struct {
   char const *name;
--- a/tui_main.c
+++ b/tui_main.c
@@ -2439,7 +2439,7 @@
   }
   osofree(midi_output_device_name);
   if (ez.error) {
-    char const *msg = ezconf_w_error_string(ez.error);
+    char const *msg = ezconf_w_errorstring(ez.error);
     qmsg_printf_push("Config Error",
                      "Error when writing configuration file:\n%s", msg);
   }