about button matrix use single button

my IDE 1.6.12 fail to open time by time, it open after I deleted the: Arduino15 at: C:\Users\HUA.DELLV-PC\AppData\Local
I need to do it often.
best

There is a difference between the char '1' and the number 1.

if ( keypressed == '1' )
  //...

blh64:
There is a difference between the char '1' and the number 1.

if ( keypressed == '1' )

//...

Thanks

Sorry I just deleted the code, because I was thinking I can not put two questions together .

Thanks for this '1' , it works.
Best

any suggestion for the IDE open fail please?
Thanks

I emailed Arduino support about this, we'll see what happens. Problem has been all over the forum today.