Changeset 490


Ignore:
Timestamp:
08/21/08 07:17:23 (5 years ago)
Author:
Jucifer
Message:
  • quick fix for a couple of print_screen(0)-related issues
Location:
branches/juciphox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/juciphox/core/luascript.c

    r489 r490  
    478478   
    479479  if lua_isboolean( L, 1 ) script_print_screen_statement( lua_toboolean( L, 1 ) ); 
    480   else script_print_screen_statement( luaL_checknumber( L, 1 ) ); 
     480  else script_print_screen_statement( luaL_checknumber( L, 1 )+10000 ); 
    481481  return 0; 
    482482} 
  • branches/juciphox/core/script.c

    r489 r490  
    403403void script_print_screen_statement(int val) 
    404404{ 
     405  print_screen_p = val; 
    405406  if (val) { 
    406407    if (print_screen_d>=0) close(print_screen_d); 
     
    418419    print_screen_d = open(print_screen_file, O_WRONLY|O_CREAT|O_TRUNC, 0777); 
    419420  } 
    420   print_screen_p = val; 
    421421} 
    422422 
  • branches/juciphox/doc/version.txt

    r489 r490  
    55 
    66log 
     7 
     8 
     9 
     10490 
     11Jucifer 
     12 
     13- quick fix for a couple of print_screen(0)-related issues 
     14 
    715 
    816 
Note: See TracChangeset for help on using the changeset viewer.