From d0af9cd09f3f360e3c5bd4ed51a046a0ab40b405 Mon Sep 17 00:00:00 2001 From: "stridey%gmail.com" Date: Tue, 12 Sep 2006 06:49:42 +0000 Subject: [PATCH] Camino - Missed file from Bug 181712 --- camino/src/browser/BrowserWindow.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/camino/src/browser/BrowserWindow.mm b/camino/src/browser/BrowserWindow.mm index 4be163a0b19c..3ba6a5fbad3a 100644 --- a/camino/src/browser/BrowserWindow.mm +++ b/camino/src/browser/BrowserWindow.mm @@ -116,7 +116,10 @@ static const int kEscapeKeyCode = 53; BOOL shiftKeyIsDown = (([theEvent modifierFlags] & NSShiftKeyMask) != 0); handled = [windowController handleCommandReturn:shiftKeyIsDown]; } else if (keyChar == '+') { - [windowController biggerTextSize:nil]; + if ([windowController canMakeTextBigger]) + [windowController makeTextBigger:nil]; + else + NSBeep(); handled = YES; } else if (keyChar >= '1' && keyChar <= '9') { BOOL cmdKeyIsDown = (([theEvent modifierFlags] & NSCommandKeyMask) != 0);