Fix splitting MIB/PIB paths in about box for other than win32.

svn path=/trunk/; revision=25004
This commit is contained in:
Stig Bjørlykke 2008-04-13 22:21:07 +00:00
parent 79ebaba30a
commit 50f4da953e
1 changed files with 4 additions and 0 deletions

View File

@ -424,7 +424,11 @@ about_folders_page_new(void)
/* SMI MIBs/PIBs */
path = oid_get_default_mib_path();
#ifdef _WIN32
resultArray = g_strsplit(path, ";", 10);
#else
resultArray = g_strsplit(path, ":", 10);
#endif
for(i = 0; resultArray[i]; i++)
about_folders_row(table, "MIB/PIB path", g_strstrip(resultArray[i]),