/* set home path */
homePath = home;
}
- else {
+ else{
home = homePath;
}
path++;
}
+
/* concatenate */
if ( last > ( path + 1 ) ) {
// +1 hack: Q_strncat calls Q_strncpyz that expects a len including '\0'
if ( access( temp, X_OK ) == 0 ) {
if ( customHomePath == qfalse ) {
tempHomePath = xdgDataHomePath;
- }
+ }
path = path + 1;
}
#endif // GDEF_OS_XDG