diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /osdep/glob-win.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'osdep/glob-win.c')
-rw-r--r-- | osdep/glob-win.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/osdep/glob-win.c b/osdep/glob-win.c index 427a30e7b0..6cf29efd5f 100644 --- a/osdep/glob-win.c +++ b/osdep/glob-win.c @@ -42,7 +42,7 @@ int glob(const char *pattern, int flags, //printf("could not find a file matching your search criteria\n"); return 1; } - else + else { //printf("glob():ERROR:FindFirstFile: %i\n",GetLastError()); return 1; @@ -69,9 +69,9 @@ int glob(const char *pattern, int flags, else { //printf("glob: found file %s\n",found_file.cFileName); - pglob->gl_pathc++; + pglob->gl_pathc++; pglob->gl_pathv = realloc(pglob->gl_pathv,pglob->gl_pathc * sizeof(char*)); - pglob->gl_pathv[pglob->gl_pathc-1] = strdup(found_file.cFileName); + pglob->gl_pathv[pglob->gl_pathc-1] = strdup(found_file.cFileName); } } FindClose(searchhndl); @@ -98,7 +98,7 @@ int main(void){ for(i=0;i<gg.gl_pathc;i++)printf("GLOBED:%i %s\n",i,gg.gl_pathv[i]); } globfree(&gg); - + return 0; } #endif |