[Wine-patches] [eterhack] Fix encoding.

Alexander Morozov amorozov на etersoft.ru
Чт Мар 17 20:22:12 MSK 2011


----------- следующая часть -----------
From 4c7af6fd130ab4b1700e5e45e9b745c1e09a5c0d Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Thu, 17 Mar 2011 19:33:48 +0300
Subject: [eterhack] Fix encoding.

---
 dlls/ntdll/mcache.c        |   24 ++++++++++++------------
 dlls/oledlg/tests/oledlg.c |    8 ++++----
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/dlls/ntdll/mcache.c b/dlls/ntdll/mcache.c
index 218e5ae..31b8fd9 100644
--- a/dlls/ntdll/mcache.c
+++ b/dlls/ntdll/mcache.c
@@ -80,7 +80,7 @@ static BOOL mcache_filtr( const struct __server_request_info* req )
 		case REQ_get_thread_input:
 		break;
 
-		// ????????? ????????? ??????? ????
+		// ?????????????????? ?????????????????? ?????????????? ????????
 		case REQ_set_window_owner:
 		case REQ_set_window_pos:
 		case REQ_set_window_region:
@@ -126,7 +126,7 @@ static void mcache_clear()
 	get_thread_empty 	= 1;
 }
 // -----------------------------------------------------------------------------
-// ?????????? ????????? '?????'
+// ???????????????????? ?????????????????? '??????????'
 static BOOL mcache_check( struct CacheInfo* mcache, 
 							BOOL (*mcache_compare)( int ind,  const struct __server_request_info* req ),
 							const struct __server_request_info* req, 
@@ -187,7 +187,7 @@ BOOL mcache_check_msg( const struct __server_request_info* req,
 
 }
 // -----------------------------------------------------------------------------
-// ??????? ???? ? ???? ??? ???????? ??????? ??? ?????? ????????? ????? ??? ???? (tm=0)
+// ?????????????? ???????? ?? ???????? ?????? ???????????????? ?????????????? ?????? ???????????? ?????????????????? ?????????? ?????? ???????? (tm=0)
 static int mcache_find_index( struct CacheInfo* mcache,
 						BOOL (*mcache_compare)( int ind,  const struct __server_request_info* req ),
 						struct __server_request_info* req )
@@ -302,10 +302,10 @@ void mcache_update( struct __server_request_info* req, struct __server_request_i
 	}
 }
 // -----------------------------------------------------------------------------
-// ?????????? ??????, ??????????? ?????? ? ?????
-// ? ???????? ?????????? ????????? ??????(???) ? ??????? ??????? ??????
-// ????????? ?? ??????? ????????? (?????? ? ????)
-// ? ?????????? ??????...
+// ???????????????????? ????????????, ?????????????????????? ???????????? ?? ??????????
+// ?? ???????????????? ???????????????????? ?????????????????? ????????????(??????) ?? ?????????????? ?????????????? ????????????
+// ?????????????????? ???? ?????????????? ?????????????????? (???????????? ?? ????????)
+// ?? ???????????????????? ????????????...
 static BOOL mcache_check( struct CacheInfo* mcache,
 					BOOL (*mcache_compare)( int ind,  const struct __server_request_info* req ),
 					const struct __server_request_info* req, struct __server_request_info* rep,
@@ -316,10 +316,10 @@ static BOOL mcache_check( struct CacheInfo* mcache,
 	BOOL empty 	= 1;
 	ULONG t2 	= NtGetTickCount();
 
-	/* ? ???? ????? ????? ????? ???????? ??? ?????? ? ??????? ??? ???????!
-	// ????? ? ??????? update, ?????????? ? ?????? ?????????(??????????) ??????
-	// ????? ?????? ? ???, ??? ???? ????????? difftime ?? ?????? ???? (?? mcache_compare)
-	// ???? ????? ??????????? ?????? ????? ????? ????????....
+	/* ?? ???????? ?????????? ?????????? ?????????? ???????????????? ?????? ???????????? ?? ?????????????? ?????? ??????????????!
+	// ?????????? ?? ?????????????? update, ???????????????????? ?? ???????????? ??????????????????(????????????????????) ????????????
+	// ?????????? ???????????? ?? ??????, ?????? ???????? ?????????????????? difftime ???? ???????????? ???????? (???? mcache_compare)
+	// ???????? ?????????? ?????????????????????? ???????????? ?????????? ?????????? ????????????????....
 	*/
 	for( ; i<CACHE_MAX_NUM; i++ )
 	{
@@ -339,7 +339,7 @@ static BOOL mcache_check( struct CacheInfo* mcache,
 		}
 		
 		if( old )
-			mcache[i].ms = 0; /* ????????, ??? ????? ???????? */
+			mcache[i].ms = 0; /* ????????????????, ?????? ?????????? ???????????????? */
 		else
 			empty = 0;
 	}
diff --git a/dlls/oledlg/tests/oledlg.c b/dlls/oledlg/tests/oledlg.c
index 023a89e..48756e6 100644
--- a/dlls/oledlg/tests/oledlg.c
+++ b/dlls/oledlg/tests/oledlg.c
@@ -78,12 +78,12 @@ static void test_OleUIAddVerbMenu(void)
     DWORD lasterr;
 
 /*
-??????? ????????? ??? ??????
-????? ??????? ??????????
-????? ???????
+?????????????? ?????????????????? ?????? ????????????
+?????????? ?????????????? ????????????????????
+?????????? ??????????????
 
 
-? ??????? OleObject, ? ????????? OleObject, ? ?????????, ?? ??? ?????
+?? ?????????????? OleObject, ?? ?????????????????? OleObject, ?? ??????????????????, ???? ?????? ??????????
 
 */
 	// Will this hr be OLEOBJ_E_NOVERBS when no verbs present?
-- 
1.7.4.1



Подробная информация о списке рассылки Wine-patches