# HG changeset patch # User Thinker K.F. Li # Date 1290357749 -28800 # Node ID 2cbe3721dc9a4830a9ce97562f3f08949d43767e # Parent 1882700bb4b9ce36c191e0516e2eb99e8d75fe71 Change signature of sprite_set_search_path() diff -r 1882700bb4b9 -r 2cbe3721dc9a include/mb_redraw_man.h --- 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); diff -r 1882700bb4b9 -r 2cbe3721dc9a src/sprite.c --- 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)