add missing NULL terminator.

2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-font.c (load_cursor) : add missing NULL terminator.
This commit is contained in:
Jody Goldberg 2002-03-29 20:05:08 +00:00 committed by Jody Goldberg
parent efa1999827
commit b06b0afa86
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2002-03-29 Jody Goldberg <jody@gnome.org>
* gnome-settings-font.c (load_cursor) : add missing NULL terminator.
* gnome-settings-keyboard.c (apply_settings) : click volume is an
integer from 0..100, schema is an int too. Remove float and double
and add some bounds checking.

View file

@ -111,7 +111,7 @@ load_cursor (GConfClient *client)
gchar *font_name;
font_name = strrchr (cursor_font, G_DIR_SEPARATOR);
newpath = g_build_filename (dir_name, font_name);
newpath = g_build_filename (dir_name, font_name, NULL);
symlink (cursor_font, newpath);
g_free (newpath);
}