Mercurial > pidgin
comparison src/util.c @ 10871:6240d7fd5b2c
[gaim-migrate @ 12558]
Make a bunch of stuff static and rename set_gaim_user_dir to
gaim_util_set_user_dir
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 25 Apr 2005 04:22:29 +0000 |
| parents | 8002e95c0809 |
| children | 4fdc8a1102c0 |
comparison
equal
deleted
inserted
replaced
| 10870:b75ce371c812 | 10871:6240d7fd5b2c |
|---|---|
| 1866 } | 1866 } |
| 1867 | 1867 |
| 1868 return home_dir; | 1868 return home_dir; |
| 1869 } | 1869 } |
| 1870 | 1870 |
| 1871 void set_gaim_user_dir(const char *dir) | 1871 void gaim_util_set_user_dir(const char *dir) |
| 1872 { | 1872 { |
| 1873 if (dir != NULL && strlen(dir) > 0) { | 1873 if (dir != NULL && strlen(dir) > 0) { |
| 1874 g_strlcpy((char*) &custom_home_dir, dir, | 1874 g_strlcpy((char*) &custom_home_dir, dir, |
| 1875 sizeof(custom_home_dir)); | 1875 sizeof(custom_home_dir)); |
| 1876 } | 1876 } |
