From 7eac72cdaa0979f45110216fd3db22f6a8a535d1 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Mon, 11 Nov 2019 23:26:36 -0500 Subject: spelling: endianess --- qtools/qglobal.cpp | 2 +- qtools/qstring.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qtools/qglobal.cpp b/qtools/qglobal.cpp index 50f5202..444cb3b 100644 --- a/qtools/qglobal.cpp +++ b/qtools/qglobal.cpp @@ -73,7 +73,7 @@ static bool si_bigEndian; or to FALSE if this is a little-endian machine. This function calls qFatal() with a message if the computer is truly weird - (i.e. different endianness for 16 bit and 32 bit integers). + (i.e. different endianess for 16 bit and 32 bit integers). */ bool qSysInfo( int *wordSize, bool *bigEndian ) diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp index e809d0d..3d57839 100644 --- a/qtools/qstring.cpp +++ b/qtools/qstring.cpp @@ -15300,7 +15300,7 @@ const void* qt_winTchar(const QString& str_in, bool addnul) if ( addnul ) buf[str.length()] = 0; #else - // Same endianness of TCHAR + // Same endianess of TCHAR if ( addnul ) { EXTEND memcpy(buf,uc,sizeof(TCHAR)*str.length()); @@ -15344,7 +15344,7 @@ QString qt_winQString(void* tc) r += QChar(((TCHAR*)tc)[i]&0xff,((TCHAR*)tc)[i]>>8); return r; #else - // Same endianness of TCHAR + // Same endianess of TCHAR return QString((QChar*)tc,len); #endif #undef EXTEND -- cgit v0.12