projects
/
SXSI
/
TextCollection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9b425
)
Fixed division by zero
author
nvalimak
<nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Wed, 11 Mar 2009 15:17:47 +0000
(15:17 +0000)
committer
nvalimak
<nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Wed, 11 Mar 2009 15:17:47 +0000
(15:17 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/TextCollection@250
3cdefd35
-fc62-479d-8e8d-
bae585ffb9ca
CSA.cpp
patch
|
blob
|
history
diff --git
a/CSA.cpp
b/CSA.cpp
index
5dd14b7
..
0e1fcc9
100644
(file)
--- a/
CSA.cpp
+++ b/
CSA.cpp
@@
-208,6
+208,7
@@
void CSA::MakeStatic()
if (texts.size() == 0) // Empty collection
{
++n;
+ ++numberOfTexts;
texts.append(1, '\0');
}