• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

oga's tools


Commit MetaInfo

Révision2a28d2d79bfd88df3c6a3d7a28d22e8b063e8ed5 (tree)
l'heure2015-04-13 05:05:29
Auteuroga <hyperoga@gmai...>
Commiteroga

Message de Log

Merge branch 'master' of git.pf.sourceforge.jp:/gitroot/h/hy/hyperoga/ogatool

Change Summary

Modification

--- a/fold2.c
+++ b/fold2.c
@@ -2,6 +2,7 @@
22 * SJIS対応fold
33 *
44 * 08/01/17 V0.10 by oga.
5+ * 14/12/31 V0.11 fix arg bug.
56 */
67 #include <stdio.h>
78 #include <stdlib.h>
@@ -21,7 +22,7 @@ int main(int a, char* b[])
2122 unsigned char buf[100000];
2223 FILE *fp;
2324
24- for (i = 0; i < a; i++) {
25+ for (i = 1; i < a; i++) { /* V0.11-C */
2526 if (!strcmp(b[i], "-h")) {
2627 printf("usage: fold [-w <width>] [<filename>]\n");
2728 exit(1);