Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libuninum bug: maximum value for NS_ROMAN #14

Open
zmughal opened this issue Dec 31, 2013 · 1 comment
Open

libuninum bug: maximum value for NS_ROMAN #14

zmughal opened this issue Dec 31, 2013 · 1 comment

Comments

@zmughal
Copy link
Contributor

zmughal commented Dec 31, 2013

maximum value for NS_ROMAN is not ROMAN_LIMIT (missing case statement near NS_ROMAN_UPPER, NS_ROMAN_LOWER)

@zmughal
Copy link
Contributor Author

zmughal commented Mar 14, 2014

Sent a patch:

selection_250

Date: Thu, 13 Mar 2014 23:14:43 -0500
Subject: [PATCH] max value for NS_ROMAN



---
 uninum.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/uninum.c b/uninum.c
index 7b866c8..35ec8d4 100644
--- a/uninum.c
+++ b/uninum.c
@@ -579,6 +579,7 @@ char *UninumStringMaximumValue(int ns) {
   case NS_PHOENICIAN:
     mpz_set_ui(Limit,PHOENICIAN_LIMIT);
     break;
+  case NS_ROMAN_GENERIC:
   case NS_ROMAN_UPPER:
   case NS_ROMAN_LOWER:
     mpz_set_ui(Limit,ROMAN_LIMIT);
--
1.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant