summaryrefslogtreecommitdiff
path: root/mpf/get_str.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-11-22 22:26:05 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-11-22 22:26:05 +0100
commit198a1add0f2d556eb75bf2d85c7fceb9fafe9f51 (patch)
treec4fa3b97e983d3f057c0ba032faf39fe303d8f3b /mpf/get_str.c
parentd7afa9ea9c7dae166cb6719c3b11db9c96cca519 (diff)
downloadgmp-198a1add0f2d556eb75bf2d85c7fceb9fafe9f51.tar.gz
Whitespace cleanup.
Diffstat (limited to 'mpf/get_str.c')
-rw-r--r--mpf/get_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpf/get_str.c b/mpf/get_str.c
index 9b466f5e1..cdadbacc3 100644
--- a/mpf/get_str.c
+++ b/mpf/get_str.c
@@ -144,9 +144,9 @@ mpf_get_str (char *dbuf, mp_exp_t *exp, int base, size_t n_digits, mpf_srcptr u)
{
base = -base;
if (base <= 1)
- base = 10;
+ base = 10;
else if (base > 36)
- return NULL;
+ return NULL;
num_to_text = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
}