• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

oga's tools


Commit MetaInfo

修訂007aae5493cbf2bb145a085249498e067cb5b43f (tree)
時間2014-01-04 18:12:26
作者oga <hyperoga@gmai...>
Commiteroga

Log Message

fix array size

Change Summary

差異

--- a/pat_disp.c
+++ b/pat_disp.c
@@ -225,7 +225,7 @@ int main(int a, char *b[])
225225 if (pt) {
226226 *pt = '\0';
227227 }
228- if (srcf) printf("char %s[%d] = {\n", buf, width[i]*height[i]-1);
228+ if (srcf) printf("char %s[%d] = {\n", buf, width[i]*height[i]);
229229 for (hh = 0; hh < height[i]; hh++) {
230230 if (srcf) printf(" ");
231231 for (ww = 0; ww < width[i]; ww++) {