parent
f3d2341450
commit
1b3f9506b3
@ -1,3 +1,4 @@
|
||||
/libstaroffice-0.0.1.tar.xz
|
||||
/libstaroffice-0.0.2.tar.xz
|
||||
/libstaroffice-0.0.3.tar.xz
|
||||
/libstaroffice-0.0.4.tar.xz
|
||||
|
@ -1,27 +0,0 @@
|
||||
From 2d6253c7a692a3d92785dd990fce7256ea05e794 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Fri, 7 Apr 2017 19:28:55 +0200
|
||||
Subject: [PATCH] ofz#1029 use correct loop index
|
||||
|
||||
To be honest, I think this would be clearer as two separate reads to two
|
||||
separate vars...
|
||||
---
|
||||
src/lib/StarWriterStruct.cxx | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/lib/StarWriterStruct.cxx b/src/lib/StarWriterStruct.cxx
|
||||
index 5893302..d1ad366 100644
|
||||
--- a/src/lib/StarWriterStruct.cxx
|
||||
+++ b/src/lib/StarWriterStruct.cxx
|
||||
@@ -327,7 +327,7 @@ bool DatabaseName::read(StarZone &zone)
|
||||
}
|
||||
data.m_name=libstoff::getString(text);
|
||||
int positions[2];
|
||||
- for (int j=0; j<2; ++j) positions[i]=int(input->readULong(4));
|
||||
+ for (int j=0; j<2; ++j) positions[j]=int(input->readULong(4));
|
||||
data.m_selection=STOFFVec2i(positions[0],positions[1]);
|
||||
m_dataList.push_back(data);
|
||||
}
|
||||
--
|
||||
2.13.0
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (libstaroffice-0.0.3.tar.xz) = ea60576537761a5b969a861ac43c8d4a9da5e5261d0a31f3d7743f8507e6979ccd4cba1784e8c3d909c08b692349ae11e87428834fd3df5b8d56e423caa7bcd8
|
||||
SHA512 (libstaroffice-0.0.4.tar.xz) = d591e554ce108165f1952ae82835241df0f986ce51f1a4fe43d282733358bb8d72418621f91f431367a5c09f9a40a9784666ffa2da303c5543ee000b1d6abf38
|
||||
|
Loading…
Reference in new issue