Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed #291, Didn't show on my (older) Linux installation
  • Loading branch information
torinfo committed May 27, 2015
1 parent 8f0e2d2 commit fff27e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website_code/php/screen_size_library.php
Expand Up @@ -39,7 +39,7 @@ function get_template_screen_size($filename, $type){
$data = file_get_contents($filename);
$place = strpos($data, 'stageSize="')+11;

if($place!=11){
if($place==11){

return "805~635";

Expand All @@ -49,7 +49,7 @@ function get_template_screen_size($filename, $type){

$temp = substr($data, $place, ($secondplace-$place));

$temp = split(",",$temp);
$temp = explode(",",$temp);

return $temp[0] . "~" . $temp[1];
}
Expand Down

0 comments on commit fff27e3

Please sign in to comment.