commit | da6b35cc86c8d938a9c47fa70548f0e72de28fb8 | [log] [tgz] |
---|---|---|
author | Christian Walther <walther@indel.ch> | Tue Jun 22 15:21:25 2021 +0200 |
committer | Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> | Tue Jun 22 10:35:54 2021 -0400 |
tree | 7cb1461e4e8b8e32fee4b796421a995c886d1a4e | |
parent | 9c1bdad9048c3ef353fb2502c493a715ddcfa13b [diff] |
Bug 574245 - [Win32] Fix splash size with numeric swt.autoScale An absolute numeric value of swt.autoScale was mistakenly multiplied to the current OS setting rather than replacing it. Change-Id: Iab2b451ca47c5f29d0f2c28ad1b9394ef48f272c Signed-off-by: Christian Walther <walther@indel.ch> Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/182349 Tested-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> Reviewed-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
diff --git a/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c b/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c index e843758..f206561 100644 --- a/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c +++ b/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c
@@ -257,7 +257,7 @@ } break; default: - dpiX = (dpiX * autoScaleValue + 50) / 100; + dpiX = (96 * autoScaleValue + 50) / 100; break; }