Ticket #3971: sudoku.patch

File sudoku.patch, 524 bytes (added by Stef, 15 years ago)

patch for SudokuView.cpp (against hrev30866)

  • src/apps/sudoku/SudokuView.cpp

     
    847847    }
    848848
    849849    uint32 x, y;
    850     if (!_GetFieldFor(where, x, y)
     850    bool isField = _GetFieldFor(where, x, y);
     851    if (isField) {
     852        fKeyboardX = x;
     853        fKeyboardY = y;
     854    }
     855
     856    if (!isField
    851857        || (fField->FlagsAt(x, y) & kInitialValue) != 0
    852858        || !fShowCursor && fField->ValueAt(x, y) != 0) {
    853859        _RemoveHint();