Use PACKAGE_VERSION as it is known to both make and meson.

This commit is contained in:
Dave Davenport 2017-10-31 19:36:13 +01:00
parent ba0acd625f
commit 0ef2ad0771

View file

@ -320,7 +320,7 @@ static void rofi_theme_print_index ( ThemeWidget *widget )
void rofi_theme_print ( ThemeWidget *widget )
{
if ( widget != NULL ) {
printf("/**\n * rofi -dump-theme output.\n * Rofi version: %s\n **/\n", VERSION);
printf("/**\n * rofi -dump-theme output.\n * Rofi version: %s\n **/\n", PACKAGE_VERSION);
rofi_theme_print_index ( widget );
}
}