Bug 1258637 - Fix typo of logging of pacpNext of TSFTextStore::GetText. r?masayuki draft
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Thu, 31 Mar 2016 15:42:11 +0900
changeset 346181 2eae17ff55847b06424ff3fc6ff1c6dff11c8760
parent 345720 494289c72ba3997183e7b5beaca3e0447ecaf96d
child 517350 f918ef7b126a51b44d307f52a0e730f0c8f4d2ec
push id14269
push userm_kato@ga2.so-net.ne.jp
push dateThu, 31 Mar 2016 06:43:57 +0000
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,