Skip to content

Commit

Permalink
Don't need XDG_DATA_HOME here
Browse files Browse the repository at this point in the history
  • Loading branch information
erysdren committed Jul 14, 2024
1 parent d582b10 commit e1be995
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rott/rt_datadir.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,7 @@ static void AddStorefrontDirs(void)
char path[1024];

#ifndef _WIN32
char *prefix = getenv("XDG_DATA_HOME");

if (prefix == NULL)
prefix = getenv("HOME");
char *prefix = getenv("HOME");

if (prefix == NULL)
{
Expand Down

0 comments on commit e1be995

Please sign in to comment.