X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fcmd_bmp.c;h=cc904c253560f4e0e4743e2eeba162c63d5021ad;hb=5a1095a830299aef8dd32495e505e92ab1749e89;hp=c093fefd4c3a22bf49961d00e38e53bbe6d3208e;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=oweals%2Fu-boot.git diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c index c093fefd4c..cc904c2535 100644 --- a/common/cmd_bmp.c +++ b/common/cmd_bmp.c @@ -121,9 +121,9 @@ static int do_bmp_display(cmd_tbl_t * cmdtp, int flag, int argc, char * const ar break; case 4: addr = simple_strtoul(argv[1], NULL, 16); - x = simple_strtoul(argv[2], NULL, 10); - y = simple_strtoul(argv[3], NULL, 10); - break; + x = simple_strtoul(argv[2], NULL, 10); + y = simple_strtoul(argv[3], NULL, 10); + break; default: return CMD_RET_USAGE; }