mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 16:56:04 +02:00
Bugzilla 261384
This commit is contained in:
parent
46a72bfdbf
commit
c02370ee35
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ public class NumberFormatDetailPane implements IDetailPane, IAdaptable, IPropert
|
||||||
insert = "\n" + result; //$NON-NLS-1$
|
insert = "\n" + result; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
try {
|
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) {
|
if (max > 0 && insert.length() > max) {
|
||||||
insert = insert.substring(0, max) + "..."; //$NON-NLS-1$
|
insert = insert.substring(0, max) + "..."; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue