[gnome-builder] buildui: fix project version number to be a.b
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buildui: fix project version number to be a.b
- Date: Fri, 11 Jan 2019 21:14:50 +0000 (UTC)
commit 711fc21fae11061267dc76afe03ee1649ae4205f
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 11 13:05:31 2019 -0800
buildui: fix project version number to be a.b
src/plugins/buildui/gbp-buildui-editor-page-addin.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/buildui/gbp-buildui-editor-page-addin.c
b/src/plugins/buildui/gbp-buildui-editor-page-addin.c
index fd1cef41b..cbb7a8f66 100644
--- a/src/plugins/buildui/gbp-buildui-editor-page-addin.c
+++ b/src/plugins/buildui/gbp-buildui-editor-page-addin.c
@@ -37,10 +37,12 @@ transpose_version (gchar *str)
g_assert (str);
+ /* Only use Major.Minor as version number */
+
if ((dot = strchr (str, '.')))
{
dot++;
- if ((dot = strchr (str, '.')))
+ if ((dot = strchr (dot, '.')))
*dot = 0;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]