teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

デバッグ時にfor loop範囲を変更していた重複コードを一行削除

2017/05/24 22:13

投稿

Ruka
Ruka

スコア6

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,6 @@
27
27
  for (int row = 0; row < rows; row++)
28
28
  {
29
29
  for (int col = 0; col < cols; col++)
30
- for (int col = 2000; col < cols; col++)
31
30
  {
32
31
  if (AddWidth <= col & col < (AddWidth + wBitmap.PixelWidth) & AddHeight <= row & row < (AddHeight + wBitmap.PixelHeight))
33
32
  {