summaryrefslogtreecommitdiff
path: root/lily/script-def.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/script-def.cc')
-rw-r--r--lily/script-def.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lily/script-def.cc b/lily/script-def.cc
index fa067cd3cc..e16eed4c09 100644
--- a/lily/script-def.cc
+++ b/lily/script-def.cc
@@ -75,8 +75,8 @@ Atom
Script_def::get_atom (Paper_def *p , Direction d) const
{
String preidx_str ="";
- if (invertsym_b_&& d < 0)
- preidx_str = "-";
+ if (invertsym_b_)
+ preidx_str = (d < 0)? "d" : "u";
return p->lookup_l()->script (preidx_str + symidx_str_);
}