mirror of
https://github.com/reactos/reactos.git
synced 2025-06-23 17:20:20 +00:00
Tempoarily patch away SEGV-inducing code. See JIRA 6659.
svn path=/trunk/; revision=57300
This commit is contained in:
parent
60b3b058ce
commit
be682db3a4
2 changed files with 34 additions and 0 deletions
30
rostests/winetests/gdiplus/gdiplus_winetest_ros.diff
Normal file
30
rostests/winetests/gdiplus/gdiplus_winetest_ros.diff
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
Index: graphics.c
|
||||||
|
===================================================================
|
||||||
|
--- graphics.c (revision 57206)
|
||||||
|
+++ graphics.c (working copy)
|
||||||
|
@@ -2819,6 +2819,7 @@
|
||||||
|
ReleaseDC(hwnd, hdc);
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if CORE_6659_IS_FIXED
|
||||||
|
static void test_string_functions(void)
|
||||||
|
{
|
||||||
|
GpStatus status;
|
||||||
|
@@ -3138,6 +3139,7 @@
|
||||||
|
|
||||||
|
ReleaseDC(hwnd, hdc);
|
||||||
|
}
|
||||||
|
+#endif /* CORE_6659_IS_FIXED */
|
||||||
|
|
||||||
|
static void test_get_set_interpolation(void)
|
||||||
|
{
|
||||||
|
@@ -3361,7 +3363,9 @@
|
||||||
|
test_clear();
|
||||||
|
test_textcontrast();
|
||||||
|
test_fromMemoryBitmap();
|
||||||
|
+#if CORE_6659_IS_FIXED
|
||||||
|
test_string_functions();
|
||||||
|
+#endif
|
||||||
|
test_get_set_interpolation();
|
||||||
|
test_get_set_textrenderinghint();
|
||||||
|
test_getdc_scaled();
|
|
@ -2819,6 +2819,7 @@ static void test_GdipGetNearestColor(void)
|
||||||
ReleaseDC(hwnd, hdc);
|
ReleaseDC(hwnd, hdc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CORE_6659_IS_FIXED
|
||||||
static void test_string_functions(void)
|
static void test_string_functions(void)
|
||||||
{
|
{
|
||||||
GpStatus status;
|
GpStatus status;
|
||||||
|
@ -3138,6 +3139,7 @@ static void test_string_functions(void)
|
||||||
|
|
||||||
ReleaseDC(hwnd, hdc);
|
ReleaseDC(hwnd, hdc);
|
||||||
}
|
}
|
||||||
|
#endif /* CORE_6659_IS_FIXED */
|
||||||
|
|
||||||
static void test_get_set_interpolation(void)
|
static void test_get_set_interpolation(void)
|
||||||
{
|
{
|
||||||
|
@ -3361,7 +3363,9 @@ START_TEST(graphics)
|
||||||
test_clear();
|
test_clear();
|
||||||
test_textcontrast();
|
test_textcontrast();
|
||||||
test_fromMemoryBitmap();
|
test_fromMemoryBitmap();
|
||||||
|
#if CORE_6659_IS_FIXED
|
||||||
test_string_functions();
|
test_string_functions();
|
||||||
|
#endif
|
||||||
test_get_set_interpolation();
|
test_get_set_interpolation();
|
||||||
test_get_set_textrenderinghint();
|
test_get_set_textrenderinghint();
|
||||||
test_getdc_scaled();
|
test_getdc_scaled();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue