Commit 268580a8 authored by larchunix's avatar larchunix

Don't truncate version string when building from a git tag

32 characters are not enough to store the version string with Remmina's
current versioning scheme.

For instance, "1.2.0-rcgit-29 (git v1.2.0-rcgit-29)" uses 36 characters.
parent bb7f020e
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
void remmina_about_open(GtkWindow *parent) void remmina_about_open(GtkWindow *parent)
{ {
TRACE_CALL(__func__); TRACE_CALL(__func__);
static gchar version[32]; static gchar version[40];
g_snprintf(version, sizeof(version), "%s (git %s)", VERSION, REMMINA_GIT_REVISION); g_snprintf(version, sizeof(version), "%s (git %s)", VERSION, REMMINA_GIT_REVISION);
GtkBuilder *builder = remmina_public_gtk_builder_new_from_file("remmina_about.glade"); GtkBuilder *builder = remmina_public_gtk_builder_new_from_file("remmina_about.glade");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment