Commit 10a99b44 authored by coppro's avatar coppro

Added Makefile.in - more autoconf goodies

Fixed a couple of minor things.
parent f47d6140
This diff is collapsed.
......@@ -61,7 +61,7 @@ TextStyle::TextStyle(const TextFieldP& field)
double TextStyle::getStretch() const {
if (content_width > 0 && ((alignment() & ALIGN_STRETCH) || (alignment() & ALIGN_STRETCH_OVERFLOW))) {
double factor = (sideways(angle) ? height : width - padding_left - padding_right) / content_width;
double factor = (sideways(angle) ? double(height) : width - padding_left - padding_right) / content_width;
if (alignment() == ALIGN_STRETCH || factor < 1.0) {
return factor;
}
......
......@@ -4,8 +4,7 @@
mkdir magicseteditor
mkdir magicseteditor/program
cp -rP ../../data /usr/local/share/magicseteditor/resource
../../magicseteditor magicseteditor/program;
cp -rP ../../data /usr/local/share/magicseteditor/resource ../../magicseteditor magicseteditor/program;
cp install README magicseteditor;
tar -cf magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment