mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-23 07:12:32 -04:00
E-book viewer: Fix bug that caused the default language for hyphenation to be ignored for books that do not specify a language
This commit is contained in:
@@ -80,7 +80,7 @@ class JavaScriptLoader(object):
|
||||
evaljs(src)
|
||||
|
||||
if not lang:
|
||||
lang = 'en'
|
||||
lang = default_lang or 'en'
|
||||
|
||||
def lang_name(l):
|
||||
l = l.lower()
|
||||
|
||||
Reference in New Issue
Block a user