lyx/lyx-1.6.3.diff

14 lines
588 B
Diff

Index: lyx-1.6.3/src/frontends/qt4/LengthCombo.cpp
===================================================================
--- lyx-1.6.3.orig/src/frontends/qt4/LengthCombo.cpp
+++ lyx-1.6.3/src/frontends/qt4/LengthCombo.cpp
@@ -27,7 +27,7 @@ LengthCombo::LengthCombo(QWidget * paren
for (int i = 0; i < lyx::num_units; i++) {
// mu does not make sense usually
// so it must be added manually, if needed
- if (lyx::unit_name[i] == "mu")
+ if (!strcmp(lyx::unit_name[i], "mu"))
continue;
QComboBox::addItem(lyx::qt_(lyx::unit_name_gui[i]),
lyx::toqstr(lyx::unit_name[i]));