Skip to content

Commit 268580a

Browse files
committed
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.
1 parent bb7f020 commit 268580a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remmina/src/remmina_about.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
void remmina_about_open(GtkWindow *parent)
4646
{
4747
TRACE_CALL(__func__);
48-
static gchar version[32];
48+
static gchar version[40];
4949

5050
g_snprintf(version, sizeof(version), "%s (git %s)", VERSION, REMMINA_GIT_REVISION);
5151
GtkBuilder *builder = remmina_public_gtk_builder_new_from_file("remmina_about.glade");

0 commit comments

Comments
 (0)