src/filesystem/unix/SDL_sysfilesystem.c
changeset 7714 1c227c5f5d8d
parent 7713 6074c53b0cda
child 7715 24f652e130fa
equal deleted inserted replaced
7713:6074c53b0cda 7714:1c227c5f5d8d
   170             return NULL;
   170             return NULL;
   171         }
   171         }
   172         append = "/.local/share/";
   172         append = "/.local/share/";
   173     } else {
   173     } else {
   174         append = "/";
   174         append = "/";
   175     } /* if */
   175     }
   176 
   176 
   177     len = SDL_strlen(envr);
   177     len = SDL_strlen(envr);
   178     if (envr[len - 1] == '/')
   178     if (envr[len - 1] == '/')
   179         append += 1;
   179         append += 1;
   180 
   180