summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6311ecd)
raw | patch | inline | side by side (parent: 6311ecd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 14 Sep 2009 00:53:47 +0000 (00:53 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 14 Sep 2009 00:53:47 +0000 (00:53 +0000) |
src/document.cpp | patch | blob | history |
diff --git a/src/document.cpp b/src/document.cpp
index 288e52c6d88844244245381ac56986638d40d7e9..8503c7841e153a117d57f802ba133e898860d38c 100644 (file)
--- a/src/document.cpp
+++ b/src/document.cpp
* Repeatedly works on getting the document updated, since sometimes
* it takes more than one pass to get the document updated. But it
* usually should not take more than a few loops, and certainly never
- * more than 32 iterations. So we bail out if we hit 32 iterations,
+ * more than 64 iterations. So we bail out if we hit 64 iterations,
* since this typically indicates we're stuck in an update loop.
*/
gint
sp_document_ensure_up_to_date(SPDocument *doc)
{
- int counter = 32;
+ int counter = 64;
while (!doc->_updateDocument()) {
if (counter == 0) {
- g_warning("More than 32 iteration while updating document '%s'", doc->uri);
+ g_warning("More than 64 iteration while updating document '%s'", doc->uri? doc->uri:"<unknown URI, probably clipboard>");
break;
}
counter--;