master
Denis Knauf 2010-03-29 14:24:31 +02:00
parent f441da9f18
commit da7476fe70
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ module SBDB
ps.last[:env] = self ps.last[:env] = self
name, flg, type = name, flg, type =
String === ps[0] ? ps[0] : ps.last[:name], String === ps[0] ? ps[0] : ps.last[:name],
Fixnum === ps[1] ? ps[1] : ps.last[:flags], Fixnum === ps[2] ? ps[2] : ps.last[:flags],
Fixnum === ps[2] ? ps[2] : ps.last[:type] Fixnum === ps[1] ? ps[1] : ps.last[:type]
@dbs[ [file, name, flg | CREATE]] ||= (type || SBDB::Unknown).new file, *ps, &exe @dbs[ [file, name, flg | CREATE]] ||= (type || SBDB::Unknown).new file, *ps, &exe
end end
end end