31 lines
776 B
C
31 lines
776 B
C
# Removes confusing revision number from titlebar (which is shown in the release notes anyway):
|
|
--- alpine/pith/help.c
|
|
+++ alpine/pith/help.c
|
|
@@ -96,6 +96,7 @@
|
|
}
|
|
|
|
|
|
+#if 0
|
|
char *
|
|
get_alpine_revision_number(char *buf, size_t nbuf)
|
|
{
|
|
@@ -131,6 +132,7 @@
|
|
|
|
return(buf);
|
|
}
|
|
+#endif
|
|
|
|
|
|
#ifdef DEBUG
|
|
--- alpine/alpine/titlebar.c
|
|
+++ alpine/alpine/titlebar.c
|
|
@@ -444,7 +444,7 @@
|
|
|
|
is_context = as.context_name ? strlen(as.context_name) : 0;
|
|
|
|
- snprintf(version, sizeof(version), "ALPINE %s(%s)", ALPINE_VERSION, get_alpine_revision_number(revision, sizeof(revision)));
|
|
+ snprintf(version, sizeof(version), "ALPINE %s", ALPINE_VERSION);
|
|
version[sizeof(version)-1] = '\0';
|
|
ver_len = (int) utf8_width(version); /* fixed version field width */
|
|
|