riched20: Replace some ERRs with FIXMEs

André Hentschel nerv at dawncrow.de
Wed Apr 7 12:59:36 CDT 2010


---
 dlls/riched20/reader.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/riched20/reader.c b/dlls/riched20/reader.c
index 9f88cf7..cbb70a2 100644
--- a/dlls/riched20/reader.c
+++ b/dlls/riched20/reader.c
@@ -539,7 +539,7 @@ RTFCharSetToCodePage(RTF_Info *info, int charset)
                         /* FIXME: TranslateCharsetInfo does not work as good as it
                          * should, so let's use it only when all else fails */
                         if (!TranslateCharsetInfo(&n, &csi, TCI_SRCCHARSET))
-                                ERR("unknown charset %d\n", charset);
+                                FIXME("unknown charset %d\n", charset);
 			else
                                 return csi.ciACP;
 		}
@@ -802,7 +802,7 @@ static void ReadFontTbl(RTF_Info *info)
 			else if (RTFCheckCM (info, rtfGroup, rtfBeginGroup))
 				old = 0;	/* brace */
 			else			/* can't tell! */
-				ERR ("cannot determine format\n");
+				FIXME ("cannot determine format\n");
 		}
 		if (old == 0)		/* need to find "{" here */
 		{
@@ -1063,7 +1063,7 @@ static void ReadStyleSheet(RTF_Info *info)
 			{
 				if (RTFCheckMM (info, rtfSpecialChar, rtfOptDest)) {
 					RTFGetToken(info);
-					ERR("skipping optional destination\n");
+					FIXME("skipping optional destination\n");
 					RTFSkipGroup(info);
 					info->rtfClass = rtfGroup;
 					info->rtfMajor = rtfEndGroup;
@@ -1129,7 +1129,7 @@ static void ReadStyleSheet(RTF_Info *info)
 				 * This passes over "{\*\keycode ... }, among
 				 * other things. A temporary (perhaps) hack.
 				 */
-				ERR("skipping begin\n");
+				FIXME("skipping begin\n");
 				RTFSkipGroup (info);
 				continue;
 			}
@@ -2402,7 +2402,7 @@ CharAttr(RTF_Info *info)
                         TRACE("font %d codepage %d\n", info->rtfParam, info->codePage);
                 }
                 else
-                        ERR( "unknown font %d\n", info->rtfParam);
+                        FIXME( "unknown font %d\n", info->rtfParam);
                 break;
         case rtfUnicodeLength:
                 info->unicodeLength = info->rtfParam;
@@ -2498,7 +2498,7 @@ static void SpecialChar (RTF_Info *info)
 			RTFGetToken(info);
                         if (info->rtfClass != rtfText)
 		        {
-                                ERR("The token behind \\u is not text, but (%d,%d,%d)\n",
+                                FIXME("The token behind \\u is not text, but (%d,%d,%d)\n",
 				info->rtfClass, info->rtfMajor, info->rtfMinor);
                                 RTFUngetToken(info);
                                 break;
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list