summaryrefslogtreecommitdiff
path: root/gwin32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-05-13 19:30:58 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-05-13 19:30:58 +0000
commit77866eaf9bff4e40223e326e99c40d0077a935b5 (patch)
treed8c774d845d50086c532770756c9fb317b2d9790 /gwin32.c
parentc74c6c91a6e0424d00ac0b71992555ce4f461117 (diff)
makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to
2000-05-13 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in * tests/makefile.mingw.in * build-dll: Rename makefile.cygwin(.in) to makefile.mingw(.in), which better describes what it is. Move the build of gmodule, gthread and gobject DLLs to makefiles in those directories. Move resource file handling and build number bump to build-dll, where it sits much cleaner. * README.win32 * Makefile.am (EXTRA_DIST): Update accordingly. * glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C implementations. * glib.def: Add g_strcanon. * gtree.c (g_tree_node_rotate_left): Remove unused variables. * gwin32.c (g_win32_opendir): Remove unneeded statement. gmodule: * makefile.mingw.in: New file, with gmodule stuff moved from ../makefile.mingw.in. * Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw. gobject: * makefile.mingw.in * gobject.def * gobject.rc.in: New files, for Win32 (mingw) build. * Makefile.am: Add to EXTRA_DIST. Add rules to produce the corresponding non-*.in files. * gtype.h: (Win32:) Mark _g_type_fundamental_last for export/import from DLL. gthread: * makefile.mingw.in: New file, with gthread stuff moved from ../makefile.mingw.in. * Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
Diffstat (limited to 'gwin32.c')
-rw-r--r--gwin32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gwin32.c b/gwin32.c
index bd4ae6554..b5e2d8007 100644
--- a/gwin32.c
+++ b/gwin32.c
@@ -101,7 +101,6 @@ g_win32_opendir (const char *dirname)
if (k && result->dir_name[k - 1] == '\\')
{
result->dir_name[k - 1] = '\0';
- k--;
}
mask = g_strdup_printf ("%s\\*", result->dir_name);