void file_utils::combine_path(dynamic_string &dst, const char *pA, const char *pB) { dynamic_string temp(pA); if ((!temp.is_empty()) && (!is_path_separator(pB[0]))) { char c = temp[temp.get_len() - 1]; if (!is_path_separator(c)) temp.append_char(VOGL_PATH_SEPERATOR_CHAR); } temp += pB; dst.swap(temp); }