Bug 1258637 - Fix typo of logging of pacpNext of TSFTextStore::GetText. r=masayuki
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Thu, 31 Mar 2016 15:42:11 +0900
changeset 291167 c710d0da3ac166eab902071388e89c68c5fba4ea
parent 291166 ba007e9d5ef1195d196c171859ce911e8cf8604f
child 291168 dbb5c40ec3a2ef633a55187f2f260ec098f18932
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki
bugs1258637
milestone48.0a1
Bug 1258637 - Fix typo of logging of pacpNext of TSFTextStore::GetText. r=masayuki MozReview-Commit-ID: 9OGt9AJA2r1
widget/windows/TSFTextStore.cpp
--- a/widget/windows/TSFTextStore.cpp
+++ b/widget/windows/TSFTextStore.cpp
@@ -2899,17 +2899,17 @@ TSFTextStore::GetText(LONG acpStart,
   }
 
   MOZ_LOG(sTextStoreLog, LogLevel::Info,
          ("TSF: 0x%p   TSFTextStore::GetText() succeeded: pcchPlainOut=0x%p, "
           "*prgRunInfo={ uCount=%lu, type=%s }, *pulRunInfoOut=%lu, "
           "*pacpNext=%ld)",
           this, pcchPlainOut, prgRunInfo ? prgRunInfo->uCount : 0,
           prgRunInfo ? GetTextRunTypeName(prgRunInfo->type) : "N/A",
-          pulRunInfoOut ? pulRunInfoOut : 0, pacpNext ? pacpNext : 0));
+          pulRunInfoOut ? *pulRunInfoOut : 0, pacpNext ? *pacpNext : 0));
   return S_OK;
 }
 
 STDMETHODIMP
 TSFTextStore::SetText(DWORD dwFlags,
                       LONG acpStart,
                       LONG acpEnd,
                       const WCHAR* pchText,