1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

allow a maximum of 200 columns

This commit is contained in:
Ted Williams 2007-07-11 21:53:14 +00:00
parent 7b4ae18785
commit 876cf49ed7

View file

@ -729,6 +729,8 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
int i= Integer.parseInt(input);
if (i <= 0)
return "Please enter a positive integer"; //$NON-NLS-1$
if (i > 200)
return "Please enter a positive integer not greater than 200"; //$NON-NLS-1$
} catch (NumberFormatException x) {
return "Please enter a positive integer"; //$NON-NLS-1$