[LyX/master] Null pointers.
Richard Kimberly Heck
rikiheck at lyx.org
Sat Feb 29 04:45:29 UTC 2020
commit 56a5a8280e392eb010a8502953444f481ca72ff3
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Fri Feb 28 23:51:53 2020 -0500
Null pointers.
---
src/support/unicode.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/support/unicode.cpp b/src/support/unicode.cpp
index d79e02c..5ea21aa 100644
--- a/src/support/unicode.cpp
+++ b/src/support/unicode.cpp
@@ -107,7 +107,7 @@ int IconvProcessor::convert(char const * buf, size_t buflen,
// flush out remaining data. This is needed because iconv sometimes
// holds back chars in the stream, waiting for a combination character
// (see e.g. http://sources.redhat.com/bugzilla/show_bug.cgi?id=1124)
- iconv(h_->cd, NULL, NULL, &outbuf, &outbytesleft);
+ iconv(h_->cd, nullptr, nullptr, &outbuf, &outbytesleft);
//lyxerr << dec;
//lyxerr << "Inbytesleft: " << inbytesleft << endl;
More information about the lyx-cvs
mailing list