Author: rgheck
Date: Mon Jun 20 17:19:16 2011
New Revision: 39149
URL: http://www.lyx.org/trac/changeset/39149
Log:
Fix problem with bibliography indentation reported on user list.
Modified:
lyx-devel/trunk/src/Buffer.cpp
Modified: lyx-devel/trunk/src/Buffer.cpp
==============================================================================
--- lyx-devel/trunk/src/Buffer.cpp Mon Jun 20 16:47:21 2011 (r39148)
+++ lyx-devel/trunk/src/Buffer.cpp Mon Jun 20 17:19:16 2011 (r39149)
@@ -4000,10 +4000,12 @@
// Compute the item depth of the paragraph
par.itemdepth = getItemDepth(it);
- if (layout.margintype == MARGIN_MANUAL
- || layout.latextype == LATEX_BIB_ENVIRONMENT) {
+ if (layout.margintype == MARGIN_MANUAL) {
if (par.params().labelWidthString().empty())
par.params().labelWidthString(par.expandLabel(layout,
bp));
+ } else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
+ // we do not need to do anything here, since the empty case is
+ // handled during export.
} else {
par.params().labelWidthString(docstring());
}