]> Nishi Git Mirror - gwion.git/commitdiff
:fire: variable (win)
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 14 Mar 2019 22:03:33 +0000 (23:03 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 14 Mar 2019 22:03:33 +0000 (23:03 +0100)
src/plug.c

index 3ceb98d53bdad478021b8e776cd09a1c33cbedce..1403db2899683a50817a50ba90bae888f58a7720 100644 (file)
@@ -75,8 +75,8 @@ ANN PlugInfo* new_plug(const Vector list) {
        plug_get(p, results.gl_pathv[i]);
     globfree(& results);
 #else
-  _finddata_t filedata;
-  intptr_t file = FindFirstFileA(c,&filedata);
+  finddata_t filedata;
+  intptr_t file = FindFirstFileA(gname,&filedata);
   if(file != -1) {
     do plug_get(p, filedata.name);
     while(FindNextFile(file,&filedata) == 0);