changeset 992:2cbe3721dc9a refine_backend_if

Change signature of sprite_set_search_path()
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 00:42:29 +0800
parents 1882700bb4b9
children 5b58e74988bc
files include/mb_redraw_man.h src/sprite.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/include/mb_redraw_man.h	Mon Nov 22 00:42:29 2010 +0800
+++ b/include/mb_redraw_man.h	Mon Nov 22 00:42:29 2010 +0800
@@ -234,7 +234,7 @@
 /*! \brief Set the search path of dymanic object loading.
  *
  */
-extern void sprite_set_search_path(char *path);
+extern void sprite_set_search_path(const char *path);
 
 extern paint_t *rdman_img_ldr_load_paint(redraw_man_t *rdman,
 					 const char *img_id);
--- a/src/sprite.c	Mon Nov 22 00:42:29 2010 +0800
+++ b/src/sprite.c	Mon Nov 22 00:42:29 2010 +0800
@@ -41,7 +41,7 @@
     return fullname;
 }
 
-void sprite_set_search_path(char *path) {
+void sprite_set_search_path(const char *path) {
     int sz;
 
     if (sprite_search_path)