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

Ignore:
Timestamp:
03/05/09 12:45:14 (3 years ago)
Author:
alex
Message:

adressed wrong text position on line. bug in my code was revealed through fixedLineSpace bug in D11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib2/PseudoXMLPS.ls

    r97 r101  
    757757   
    758758  if val.length = 7 then 
    759     if (val.char[1] = "#") and (offset(val.char[2], "abcdef0123456789") > 0) then return rgb(val) 
     759    if (val.char[1] = "#") then 
     760      isColor = 1 
     761      repeat with n = 2 to 7 
     762        if (offset(val.char[n], "abcdef0123456789") < 1) then 
     763          isColor = 0 
     764          exit repeat 
     765        end if 
     766      end repeat 
     767      if isColor = 1 then return rgb(val) 
     768    end if 
    760769  end if  
    761770   
     
    11861195 
    11871196on mGetListFromPListString me, str 
    1188   return mConvertKeyList(me, mGetListFromXMLString(me, str, 0)) 
     1197  return mConvertKeyList(me, mGetListFromXMLStringX(me, str, 0)) 
    11891198end 
    11901199 
Note: See TracChangeset for help on using the changeset viewer.