Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Walther2021-06-22 13:21:25 +0000
committerSravan Kumar Lakkimsetti2021-06-22 14:35:54 +0000
commitda6b35cc86c8d938a9c47fa70548f0e72de28fb8 (patch)
tree7cb1461e4e8b8e32fee4b796421a995c886d1a4e
parent9c1bdad9048c3ef353fb2502c493a715ddcfa13b (diff)
downloadrt.equinox.framework-da6b35cc86c8d938a9c47fa70548f0e72de28fb8.tar.gz
rt.equinox.framework-da6b35cc86c8d938a9c47fa70548f0e72de28fb8.tar.xz
rt.equinox.framework-da6b35cc86c8d938a9c47fa70548f0e72de28fb8.zip
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>
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c2
1 files changed, 1 insertions, 1 deletions
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 e843758aa..f206561bc 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 @@ int showSplash( const _TCHAR* featureImage )
}
break;
default:
- dpiX = (dpiX * autoScaleValue + 50) / 100;
+ dpiX = (96 * autoScaleValue + 50) / 100;
break;
}

Back to the top