hedgewars/uInputHandler.pas
changeset 10080 ac51bcb534ef
parent 10015 4feced261c68
child 10108 c68cf030eded
equal deleted inserted replaced
10079:c88e38a0f478 10080:ac51bcb534ef
   504                 begin
   504                 begin
   505                 l:= copy(l, i + 1, length(l) - i);
   505                 l:= copy(l, i + 1, length(l) - i);
   506                 if l <> 'default' then
   506                 if l <> 'default' then
   507                     begin
   507                     begin
   508                     if (length(l) = 2) and (l[1] = '\') then
   508                     if (length(l) = 2) and (l[1] = '\') then
   509                         l:= l[1]
   509                         l:= l[1] + ''
   510                     else if (l[1] = '"') and (l[length(l)] = '"') then
   510                     else if (l[1] = '"') and (l[length(l)] = '"') then
   511                         l:= copy(l, 2, length(l) - 2);
   511                         l:= copy(l, 2, length(l) - 2);
   512 
   512 
   513                     p:= cmd + ' ' + l + ' ' + p;
   513                     p:= cmd + ' ' + l + ' ' + p;
   514                     ParseCommand(p, true)
   514                     ParseCommand(p, true)