Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61124     [previous patch]

Spurious space with 'articles' property
Submitted by: Fredrik Ramsberg     Appeared in: Library 6/11 or before     Fixed in: -
Problem

The rarely-used articles property defines an array of strings. (The property is provided for non-English languages where irregular nouns may have unusual vowel-contraction rules with articles.) The DM4 gives an example appropriate for a French game, with three strings in the array:

  Object  "haricot"
    with  name 'haricot' 'legume',
          articles "Le "   "le "   "un ",
          ... ;

Note that each string includes its individual trailing space, if appropriate. This is important, because a definite article like l' must be followed immediately by the object's name, without any intervening space. However, in fact a space does appear.

Solution

The PrefaceByArticle() routine includes these print statements:

  if (capitalise)
      print (CapitRule) artval, " ";
  else
      print (string) artval, " ";

The " " items should be removed from those statements.


Last updated 17 April 2013. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.