mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Updated linux installer; minor semantic bug affecting 64-bit builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1373 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -70,7 +70,7 @@ void StylePanel::updateListSize() {
|
|||||||
// we only need enough columns to show all items
|
// we only need enough columns to show all items
|
||||||
int x_room = GetSize().x - editor->GetBestSize().x - 6;
|
int x_room = GetSize().x - editor->GetBestSize().x - 6;
|
||||||
size_t need_columns = (size_t)ceil(list->requiredWidth() / (double)x_room);
|
size_t need_columns = (size_t)ceil(list->requiredWidth() / (double)x_room);
|
||||||
size_t column_count = max(1u, min(fit_columns, need_columns));
|
size_t column_count = max(1ul, min(fit_columns, need_columns));
|
||||||
// change count
|
// change count
|
||||||
if (column_count != list->column_count) {
|
if (column_count != list->column_count) {
|
||||||
list->column_count = column_count;
|
list->column_count = column_count;
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ mkdir magicseteditor/program
|
|||||||
cp -rP ../../data ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program;
|
cp -rP ../../data ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program;
|
||||||
cp install README magicseteditor;
|
cp install README magicseteditor;
|
||||||
|
|
||||||
tar -cf magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
|
tar -cfz magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
|
||||||
|
|
||||||
rm -rf magicseteditor;
|
rm -rf magicseteditor;
|
||||||
|
|||||||
@@ -38,6 +38,6 @@ done;
|
|||||||
cp -rP ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program;
|
cp -rP ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program;
|
||||||
cp install README magicseteditor;
|
cp install README magicseteditor;
|
||||||
|
|
||||||
tar -cf magicseteditor-limited.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
|
tar -cfz magicseteditor-limited.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
|
||||||
|
|
||||||
rm -rf magicseteditor;
|
rm -rf magicseteditor;
|
||||||
|
|||||||
Reference in New Issue
Block a user