Last pre-release tweaks

This commit is contained in:
Matthias Neeracher 2008-01-27 10:43:16 +00:00
parent 38fd76f711
commit 77662b23fe
3 changed files with 6 additions and 5 deletions

View File

@ -171,7 +171,7 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>VçEz</string> <string>VçEz</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0a5</string> <string>1.0b1</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
<string>MainMenu</string> <string>MainMenu</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>

View File

@ -156,15 +156,15 @@ static const char * sPaperNames[] = {
[ly substituteMacro:@"VLVERSION" withValue: [ly substituteMacro:@"VLVERSION" withValue:
[bndl objectForInfoDictionaryKey:@"CFBundleVersion"]]; [bndl objectForInfoDictionaryKey:@"CFBundleVersion"]];
[ly substituteMacro:@"PAPERSIZE" withValue:paper]; [ly substituteMacro:@"PAPERSIZE" withValue:paper];
[ly substituteMacro:@"FORMATTING" withValue:@"ragged-last-bottom = ##f"]; // [ly substituteMacro:@"FORMATTING" withValue:@"ragged-last-bottom = ##f"];
[ly substituteMacro:@"VLVERSION" withValue: [ly substituteMacro:@"VLVERSION" withValue:
[bndl objectForInfoDictionaryKey:@"CFBundleVersion"]]; [bndl objectForInfoDictionaryKey:@"CFBundleVersion"]];
[ly substituteMacro:@"CHORDSIZE" withValue: [ly substituteMacro:@"CHORDSIZE" withValue:
[NSString stringWithFormat:@"%.1f", chordSize]]; [NSString stringWithFormat:@"%f", chordSize]];
[ly substituteMacro:@"LYRICSIZE" withValue: [ly substituteMacro:@"LYRICSIZE" withValue:
[NSString stringWithFormat:@"%.1f", lyricSize]]; [NSString stringWithFormat:@"%f", lyricSize]];
[ly substituteMacro:@"STAFFSIZE" withValue: [ly substituteMacro:@"STAFFSIZE" withValue:
[NSString stringWithFormat:@"%.1f", staffSize*scaling]]; [NSString stringWithFormat:@"%f", staffSize*scaling]];
[ly substituteMacro:@"CHORDS" withValue: [ly substituteMacro:@"CHORDS" withValue:
[NSString stringWithUTF8String:writer.Chords().c_str()]]; [NSString stringWithUTF8String:writer.Chords().c_str()]];
[ly substituteMacro:@"NOTES" withValue: [ly substituteMacro:@"NOTES" withValue:

View File

@ -72,6 +72,7 @@
} }
// //
// Read print info // Read print info
//
NSFileWrapper * print = [wrappers objectForKey:@"PrintInfo"]; NSFileWrapper * print = [wrappers objectForKey:@"PrintInfo"];
if (print) { if (print) {
NSUndoManager * undoMgr = [self undoManager]; NSUndoManager * undoMgr = [self undoManager];