|
|
|
|
|
|
|
|
/*************************************************************************** |
|
|
/*************************************************************************** |
|
|
* Copyright (C) 2005 to 2013 by Jonathan Duddington * |
|
|
|
|
|
|
|
|
* Copyright (C) 2005 to 2014 by Jonathan Duddington * |
|
|
* email: [email protected] * |
|
|
* email: [email protected] * |
|
|
* * |
|
|
* * |
|
|
* This program is free software; you can redistribute it and/or modify * |
|
|
* This program is free software; you can redistribute it and/or modify * |
|
|
|
|
|
|
|
|
if(((tr->langopts.numbers & NUM_ROMAN_CAPITALS) && !(wtab[0].flags & FLAG_ALL_UPPER)) || IsDigit09(word[-2])) |
|
|
if(((tr->langopts.numbers & NUM_ROMAN_CAPITALS) && !(wtab[0].flags & FLAG_ALL_UPPER)) || IsDigit09(word[-2])) |
|
|
return(0); // not '2xx' |
|
|
return(0); // not '2xx' |
|
|
|
|
|
|
|
|
|
|
|
if(word[1] == ' ') |
|
|
|
|
|
return(0); // only one letter, don't speak as a Roman Number |
|
|
|
|
|
|
|
|
word_start = word; |
|
|
word_start = word; |
|
|
while((c = *word++) != ' ') |
|
|
while((c = *word++) != ' ') |
|
|
{ |
|
|
{ |