comparison scn2k/scn2k_grp.cc @ 50:35ce1a30f3f9

* Added va_end where there is a va_start * Used NULL instead of 0 (so it works on 64b)
author thib
date Fri, 17 Apr 2009 18:38:06 +0000
parents ed6c21dde840
children 15a18fbe6f21
comparison
equal deleted inserted replaced
49:6581f7eccd26 50:35ce1a30f3f9
508 ts.Add("#"); 508 ts.Add("#");
509 break; 509 break;
510 } 510 }
511 } 511 }
512 ts.Add(str); 512 ts.Add(str);
513 delete[] copy_str;
513 return ts; 514 return ts;
514 } 515 }
515 void GrpObj::UpdateMoji(void) { // 文字の大きさ、色などを変更 516 void GrpObj::UpdateMoji(void) { // 文字の大きさ、色などを変更
516 if (print_moji.length() == 0 || print_size <= 2) return; 517 if (print_moji.length() == 0 || print_size <= 2) return;
517 if (pic_parent == 0) return; 518 if (pic_parent == 0) return;
843 } 844 }
844 845
845 delete screen; 846 delete screen;
846 delete screen_front; 847 delete screen_front;
847 parent.Root().DeleteSurface(surface); 848 parent.Root().DeleteSurface(surface);
849 parent.Root().DeleteSurface(surface_update);
848 int i; 850 int i;
849 for (i=0; i<MAXPDT; i++) { 851 for (i=0; i<MAXPDT; i++) {
850 if (ssurface[i]) parent.Root().DeleteSurface(ssurface[i]); 852 if (ssurface[i]) parent.Root().DeleteSurface(ssurface[i]);
851 if (dsurface[i]) parent.Root().DeleteSurface(dsurface[i]); 853 if (dsurface[i]) parent.Root().DeleteSurface(dsurface[i]);
852 } 854 }