mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Tempoarily patch away SEGV-inducing code. See JIRA 6659.
svn path=/trunk/; revision=57300
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
#if CORE_6659_IS_FIXED
|
||||
static void test_string_functions(void)
|
||||
{
|
||||
GpStatus status;
|
||||
@@ -3138,6 +3139,7 @@ static void test_string_functions(void)
|
||||
|
||||
ReleaseDC(hwnd, hdc);
|
||||
}
|
||||
#endif /* CORE_6659_IS_FIXED */
|
||||
|
||||
static void test_get_set_interpolation(void)
|
||||
{
|
||||
@@ -3361,7 +3363,9 @@ START_TEST(graphics)
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user