From a2f32db171036ae6f025fc75deb6a0470d375190 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 8 Jun 2012 19:48:24 +0200 Subject: [PATCH] avoid empty class options --- src/BufferParams.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 818399d8d9..7237a94334 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -1383,7 +1383,8 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features, language_options << ','; language_options << language->babel(); } - if (global && !features.needBabelLangOptions()) + if (global && !features.needBabelLangOptions() + && !language_options.str().empty()) clsoptions << language_options.str() << ','; } -- 2.39.2