mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
abort on failure to detect codec for locale
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8487b46bd8
commit
8ba392f33d
1 changed files with 3 additions and 1 deletions
|
@ -126,7 +126,9 @@ static void setupLocaleMapper()
|
|||
|
||||
// nl_langinfo() is documented to return empty string only if its argument
|
||||
// is not valid
|
||||
Q_ASSERT(localeMapper);
|
||||
if (!localeMapper) {
|
||||
qFatal("Could not detect codec for locale");
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Reference in a new issue