shithub: choc

Download patch

ref: 66826f560accd60210c4aaf6756cccc238398e96
parent: e26d0d30a7b2809b4bef6186cbd6bea2d47fb7d5
author: Turo Lamminen <turol@iki.fi>
date: Sat Aug 28 12:47:20 EDT 2021

iwad: Split variable definition in AddXdgDirs

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -634,7 +634,8 @@
 // <http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html>
 static void AddXdgDirs(void)
 {
-    char *env, *tmp_env;
+    char *env;
+    char *tmp_env;
 
     // Quote:
     // > $XDG_DATA_HOME defines the base directory relative to which