Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Ignore:
Timestamp:
02/19/08 13:54:27 (4 years ago)
Author:
alex
Message:

fixed problems with compare scripts, when there were not enough permissions on mac osx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/alexUtilities.ls

    r148 r151  
    216216on mSaveTextToTempFile me, theText, pfad 
    217217   
    218   if ilk(pfad) <> #string then 
    219     pfad = mConvertUnix2HFS("/tmp/tmpfile.txt") 
    220   end if 
    221   if length(pfad) < 1 then 
    222     pfad = mConvertUnix2HFS("/tmp/tmpfile.txt") 
    223   end if 
     218  pfad = string(pfad) 
     219   
     220  if length(pfad) < 1 then pfad = mGetTempFilePath(me, "tmpfile.txt") 
    224221   
    225222  return mSaveToTextFile(me, theText, pfad) 
Note: See TracChangeset for help on using the changeset viewer.