Permalink
Browse files

ChangeLog: Updated ChangeLog.

test.bmp, test.gif, test.png: Added files to prevent seg fault.
testgdi.c: Minor modification of adding print stmts.

svn path=/trunk/libgdiplus/; revision=29264
  • Loading branch information...
1 parent 1bfaaef commit e16bebaa2fcb458ecc39a24254eb7d4caaf590e8 Sanja Gupta committed Jun 11, 2004
Showing with 16 additions and 0 deletions.
  1. +5 −0 tests/ChangeLog
  2. BIN tests/test.bmp
  3. BIN tests/test.gif
  4. BIN tests/test.png
  5. +11 −0 tests/testgdi.c
View
@@ -1,3 +1,8 @@
+2004-06-11 Sanjay Gupta <gsanjay@novell.com>
+
+ * test.bmp, test.gif, test.png: Added files to prevent seg fault.
+ * testgdi.c: Minor modification of adding print stmts.
+
2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
* Makefile.am: removed $(NULL), to deal with older/non-gnu make
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -58,6 +58,8 @@ win_draw(win_t *win)
g_free (unis);
GdipDisposeImage (img);
img = NULL;
+
+ printf("jpg drawn \n");
unis = g_utf8_to_utf16 ("test.tif", -1, NULL, NULL, NULL);
st = GdipLoadImageFromFile (unis, &img);
@@ -68,6 +70,8 @@ win_draw(win_t *win)
GdipDisposeImage (img);
img = NULL;
+ printf("tif drawn \n");
+
unis = g_utf8_to_utf16 ("test.gif", -1, NULL, NULL, NULL);
st = GdipLoadImageFromFile (unis, &img);
CHECK_GDIP_ST(st);
@@ -77,6 +81,8 @@ win_draw(win_t *win)
GdipDisposeImage (img);
img = NULL;
+ printf("gif drawn \n");
+
unis = g_utf8_to_utf16 ("test.png", -1, NULL, NULL, NULL);
st = GdipLoadImageFromFile (unis, &img);
CHECK_GDIP_ST(st);
@@ -86,6 +92,8 @@ win_draw(win_t *win)
GdipDisposeImage (img);
img = NULL;
+ printf("png drawn \n");
+
unis = g_utf8_to_utf16 ("test.bmp", -1, NULL, NULL, NULL);
st = GdipLoadImageFromFile (unis, &img);
CHECK_GDIP_ST(st);
@@ -94,6 +102,9 @@ win_draw(win_t *win)
g_free (unis);
GdipDisposeImage (img);
img = NULL;
+
+ printf("bmp drawn \n");
+
}
int

0 comments on commit e16beba

Please sign in to comment.