projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed division by zero
[SXSI/TextCollection.git]
/
CSA.cpp
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;
if (texts.size() == 0) // Empty collection
{
++n;
+ ++numberOfTexts;
texts.append(1, '\0');
}
texts.append(1, '\0');
}