mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
core: remove "v" before versions displayed by /debug libs
This commit is contained in:
@@ -523,18 +523,18 @@ debug_libs_cb (void *data, const char *signal, const char *type_data,
|
||||
|
||||
gui_chat_printf (NULL, " core:");
|
||||
gui_main_debug_libs ();
|
||||
gui_chat_printf (NULL, " gcrypt: v%s%s",
|
||||
gui_chat_printf (NULL, " gcrypt: %s%s",
|
||||
GCRYPT_VERSION,
|
||||
(weechat_no_gcrypt) ? " (not initialized)" : "");
|
||||
#ifdef HAVE_GNUTLS
|
||||
gui_chat_printf (NULL, " gnutls: v%s%s",
|
||||
gui_chat_printf (NULL, " gnutls: %s%s",
|
||||
GNUTLS_VERSION,
|
||||
(weechat_no_gnutls) ? " (not initialized)" : "");
|
||||
#else
|
||||
gui_chat_printf (NULL, " gnutls: (not available)");
|
||||
#endif
|
||||
gui_chat_printf (NULL, " curl: v%s", LIBCURL_VERSION);
|
||||
gui_chat_printf (NULL, " zlib: v%s", ZLIB_VERSION);
|
||||
gui_chat_printf (NULL, " curl: %s", LIBCURL_VERSION);
|
||||
gui_chat_printf (NULL, " zlib: %s", ZLIB_VERSION);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ gui_main_signal_sigwinch ()
|
||||
void
|
||||
gui_main_debug_libs ()
|
||||
{
|
||||
gui_chat_printf (NULL, " ncurses: v%s (patch %d)",
|
||||
gui_chat_printf (NULL, " ncurses: %s (patch %d)",
|
||||
NCURSES_VERSION, NCURSES_VERSION_PATCH);
|
||||
}
|
||||
|
||||
|
||||
@@ -935,11 +935,11 @@ weechat_aspell_debug_libs_cb (void *data, const char *signal,
|
||||
(void) signal_data;
|
||||
|
||||
#ifdef USE_ENCHANT
|
||||
weechat_printf (NULL, " %s: enchant v%s",
|
||||
weechat_printf (NULL, " %s: enchant %s",
|
||||
ASPELL_PLUGIN_NAME, enchant_get_version ());
|
||||
#else
|
||||
#ifdef HAVE_ASPELL_VERSION_STRING
|
||||
weechat_printf (NULL, " %s: aspell v%s",
|
||||
weechat_printf (NULL, " %s: aspell %s",
|
||||
ASPELL_PLUGIN_NAME, aspell_version_string ());
|
||||
#else
|
||||
weechat_printf (NULL, " %s: aspell (?)", ASPELL_PLUGIN_NAME);
|
||||
|
||||
@@ -788,7 +788,7 @@ weechat_guile_signal_debug_libs_cb (void *data, const char *signal,
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_printf (NULL, " %s: v%d.%d.%d",
|
||||
weechat_printf (NULL, " %s: %d.%d.%d",
|
||||
GUILE_PLUGIN_NAME,
|
||||
SCM_MAJOR_VERSION,
|
||||
SCM_MINOR_VERSION,
|
||||
|
||||
@@ -824,7 +824,7 @@ weechat_perl_signal_debug_libs_cb (void *data, const char *signal,
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_printf (NULL, " %s: v%s", PERL_PLUGIN_NAME, PERL_VERSION_STRING);
|
||||
weechat_printf (NULL, " %s: %s", PERL_PLUGIN_NAME, PERL_VERSION_STRING);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -1140,7 +1140,7 @@ weechat_python_signal_debug_libs_cb (void *data, const char *signal,
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_printf (NULL, " %s: v%s", PYTHON_PLUGIN_NAME, PY_VERSION);
|
||||
weechat_printf (NULL, " %s: %s", PYTHON_PLUGIN_NAME, PY_VERSION);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -962,7 +962,7 @@ weechat_ruby_signal_debug_libs_cb (void *data, const char *signal,
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_printf (NULL, " %s: v%s", RUBY_PLUGIN_NAME, ruby_version);
|
||||
weechat_printf (NULL, " %s: %s", RUBY_PLUGIN_NAME, ruby_version);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -702,7 +702,7 @@ weechat_tcl_signal_debug_libs_cb (void *data, const char *signal,
|
||||
(void) type_data;
|
||||
(void) signal_data;
|
||||
|
||||
weechat_printf (NULL, " %s: v%s", TCL_PLUGIN_NAME, TCL_VERSION);
|
||||
weechat_printf (NULL, " %s: %s", TCL_PLUGIN_NAME, TCL_VERSION);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user