aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/files/patch-sal::rtl::source::strtmpl.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/openoffice-3/files/patch-sal::rtl::source::strtmpl.c b/editors/openoffice-3/files/patch-sal::rtl::source::strtmpl.c
new file mode 100644
index 000000000000..91a5289d6636
--- /dev/null
+++ b/editors/openoffice-3/files/patch-sal::rtl::source::strtmpl.c
@@ -0,0 +1,19 @@
+--- ../sal/rtl/source/strtmpl.c.orig Mon Mar 11 01:28:38 2002
++++ ../sal/rtl/source/strtmpl.c Mon Mar 11 01:30:42 2002
+@@ -1104,10 +1104,12 @@
+ }
+ else if ( *pStr == '+' )
+ {
+- if ( bExp && (nExp != 0) )
+- break;
+- if ( fRet != 0.0 )
+- break;
++ if ( bExp ) {
++ if ( nExp != 0 )
++ break;
++ }
++ else if ( fRet != 0.0 )
++ break;
+ }
+ /* Exponent separator */
+ else if ( (*pStr == 'e') || (*pStr == 'E') )