--- a/src/gf_item_text.c Wed Apr 07 02:12:16 2021 -0500
+++ b/src/gf_item_text.c Wed Apr 07 02:17:21 2021 -0500
@@ -16,17 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
-# include "../gf_config.h"
-# include <pango/pangoft2.h>
+#include <freetype/freetype.h> +#include <pango/pangoft2.h> @@ -554,8 +546,7 @@
str = g_string_append(str, buff);
case 'N': /* computer name */
- gethostname(buff, sizeof(buff));
- str = g_string_append(str, buff);
+ str = g_string_append(str, g_get_host_name()); case 'n': /* buddy screen name */
buddy = gf_event_info_get_buddy(info);