summaryrefslogtreecommitdiff
path: root/contrib/seg/seg.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2017-02-06 09:33:58 +0000
committerHeikki Linnakangas2017-02-06 09:33:58 +0000
commit181bdb90ba1f2361aec5a621c8f1e01736f8cad2 (patch)
tree00678950791dcd1b312418e51b46582a3c9a8b79 /contrib/seg/seg.c
parent9863017b87f3592ff663d03fc663a4f1f8fdb8b2 (diff)
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching of future fixes go more smoothly. Josh Soref Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
Diffstat (limited to 'contrib/seg/seg.c')
-rw-r--r--contrib/seg/seg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c
index c6c082b8ea6..895d8794982 100644
--- a/contrib/seg/seg.c
+++ b/contrib/seg/seg.c
@@ -888,7 +888,7 @@ restore(char *result, float val, int n)
if (Abs(exp) <= 4)
{
/*
- * remove the decimal point from the mantyssa and write the digits
+ * remove the decimal point from the mantissa and write the digits
* to the buf array
*/
for (p = result + sign, i = 10, dp = 0; *p != 'e'; p++, i++)