Fix deleting syllables

This commit is contained in:
Matthias Neeracher 2007-12-09 17:37:01 +00:00
parent b7b1f96f93
commit 92cc5cd957

View File

@ -51,7 +51,7 @@
- (void) setStringValue:(NSString *)val - (void) setStringValue:(NSString *)val
{ {
[[fView document] willChangeSong]; [[fView document] willChangeSong];
fSong->SetWord(fStanza, fMeasure, fAt, [val UTF8String], &fNextMeas, &fNextAt); fSong->SetWord(fStanza, fMeasure, fAt, val ? [val UTF8String] : "", &fNextMeas, &fNextAt);
[[fView document] didChangeSong]; [[fView document] didChangeSong];
} }