• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

BathyScapheで画像のインラインプレビューを可能にするプラグイン


Commit MetaInfo

修訂a8f399b891714d3c588f4673c2ff034e4a6418d8 (tree)
時間2012-05-18 01:40:39
作者masakih <masakih@user...>
Commitermasakih

Log Message

[Mod] -[AppDefaults messageHeadIndent]がなぜか値を返してくれないので逃避

Change Summary

差異

--- a/BSInlinePreviewer.m
+++ b/BSInlinePreviewer.m
@@ -244,6 +244,7 @@ const NSUInteger alreadyPreviewed = NSNotFound - 1;
244244 NSMutableParagraphStyle *messageParagraphStyle_;
245245
246246 indent_ = [[self preferences] messageHeadIndent];
247+ if(indent_ == 0) indent_ = 40;
247248
248249 messageParagraphStyle_ = [[[NSMutableParagraphStyle defaultParagraphStyle] mutableCopy] autorelease];
249250 [messageParagraphStyle_ setFirstLineHeadIndent:indent_];