git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define for Transformations on Path only, also fixed segfault due to GraphicsBuffer
[ipdf/code.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
e20a7bf
..
e556fe4
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-184,10
+184,7
@@
int main(int argc, char ** argv)
{
doc.AddText(input_text, bounds.h/Real(2), bounds.x, bounds.y+bounds.h/Real(2));
}
- else
- {
- doc.Add(RECT_OUTLINE, Rect(0,0,0,0),0); // hack to stop segfault if document is empty (:S)
- }
+
#ifndef CONTROLPANEL_DISABLED
UCC
git Repository :: git.ucc.asn.au