1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bugzilla 261384

This commit is contained in:
Randy Rohrbach 2009-01-16 19:39:20 +00:00
parent 46a72bfdbf
commit c02370ee35

View file

@ -675,7 +675,7 @@ public class NumberFormatDetailPane implements IDetailPane, IAdaptable, IPropert
insert = "\n" + result; //$NON-NLS-1$
}
try {
int max = DsfUIPlugin.getDefault().getPreferenceStore().getInt(IDebugUIConstants.PREF_MAX_DETAIL_LENGTH);
int max = DsfUIPlugin.getDefault().getPreferenceStore().getInt(IDsfDebugUIConstants.PREF_MAX_DETAIL_LENGTH);
if (max > 0 && insert.length() > max) {
insert = insert.substring(0, max) + "..."; //$NON-NLS-1$
}