Added Makefile.in - more autoconf goodies

Fixed a couple of minor things.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@744 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-09-22 14:14:19 +00:00
parent 1580b8deaf
commit 1b8f4b1276
3 changed files with 1563 additions and 3 deletions
+1561
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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;
}
+1 -2
View File
@@ -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;