OSDN Git Service

メッセージ表示最大値のデフォルト値設定
authoryukihane <yukihane.feather@gmail.com>
Mon, 29 Aug 2011 15:16:32 +0000 (00:16 +0900)
committeryukihane <yukihane.feather@gmail.com>
Mon, 29 Aug 2011 15:16:32 +0000 (00:16 +0900)
frontend/src/saccubus/worker/impl/convert/Convert.java

index d0a964d..e207f8c 100644 (file)
@@ -239,7 +239,8 @@ public class Convert extends Worker<ConvertResult, ConvertProgress> {
         sb.append(prof.getFontIndex());
         sb.append("|");
         sb.append("--show-user:");
-        sb.append(prof.getMaxNumOfComment());
+        final int dispNum = (prof.getMaxNumOfComment() < 0) ? 30 : prof.getMaxNumOfComment();
+        sb.append(dispNum);
         sb.append("|");
         sb.append("--shadow:");
         sb.append(prof.getShadowIndex());