Commit c5bfc29
committed
Fix null pointer when drawable of a GC is null
The drawable on a GC can be null this would result in a null pointer
error in GC#calculateZoomForImage as we check if the drawable is not
autoScalable.1 parent 00106b4 commit c5bfc29
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
1151 | | - | |
| 1151 | + | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
| |||
0 commit comments