Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2001-10-30 17:37:25 -0500
committerGrant Gayed2001-10-30 17:37:25 -0500
commitead25a4552e23771cc98274df26ef8d9146de188 (patch)
treee0c9ebfc18335858a8128a450d15e14cf3f41106 /bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
parentbf0a4e1050771ff149803266ff240ed1e0eb6d68 (diff)
downloadeclipse.platform.swt-ead25a4552e23771cc98274df26ef8d9146de188.tar.gz
eclipse.platform.swt-ead25a4552e23771cc98274df26ef8d9146de188.tar.xz
eclipse.platform.swt-ead25a4552e23771cc98274df26ef8d9146de188.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
index 361c762ebb..2f31f3ca83 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
@@ -25,7 +25,7 @@ JNIEXPORT int JNICALL Java_org_eclipse_swt_internal_motif_OS_getSharedLibraryMaj
#ifdef DEBUG_CALL_PRINTS
fprintf(stderr, "getSharedLibraryMajorVersionNumber\n");
#endif
- return SWT_LIBRARY_MAJOR_VERSION;
+ return SWT_LIBRARY_VERSION / 1000;
}
JNIEXPORT int JNICALL Java_org_eclipse_swt_internal_motif_OS_getSharedLibraryMinorVersionNumber
@@ -34,7 +34,7 @@ JNIEXPORT int JNICALL Java_org_eclipse_swt_internal_motif_OS_getSharedLibraryMin
#ifdef DEBUG_CALL_PRINTS
fprintf(stderr, "getSharedLibraryMinorVersionNumber\n");
#endif
- return SWT_LIBRARY_MINOR_VERSION;
+ return SWT_LIBRARY_VERSION % 1000;
}

Back to the top