~ubuntu-branches/ubuntu/intrepid/gcalctool/intrepid

« back to all changes in this revision

Viewing changes to gcalctool/calctool.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2008-05-29 14:01:24 UTC
  • mfrom: (1.1.37 upstream)
  • Revision ID: james.westby@ubuntu.com-20080529140124-7jsz1j2kuw0oldbc
Tags: 5.22.2-0ubuntu1
* New upstream version (LP: #235741)
  - Correct number presentation, once the "Show Thousands Separator" option
  is activited. (LP: #189101, #53214, #44756)
  - Correctly populate the constant and function menus (LP: #215580)
* Removal of 03_fix_power_interpretation) since it has been incorporated
  uptream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
    const char *radix;                 /* Locale specific radix string. */
211
211
    char *shelf;                       /* PUT selection shelf contents. */
212
212
    char snum[MAX_LOCALIZED];          /* Scratchpad for scientific numbers. */
213
 
    const char *tsep;                  /* Locale specific thousands seperator. */
 
213
    const char *tsep;                  /* Locale specific thousands separator. */
 
214
    int tsep_count;                    /* Number of digits between separator. */
214
215
 
215
216
    char fun_names[MAX_FUNCTIONS][MAXLINE];  /* Function names from .gcalctoolcf. */
216
217
    char fun_vals[MAX_FUNCTIONS][MAXLINE];   /* Function defs from .gcalctoolcf. */
245
246
    int old_cal_value; /* Previous calculation operator. */
246
247
    int pointed;       /* Whether a decimal point has been given. */
247
248
    int show_paren;    /* Set if we wish to show DISPLAYITEM during parens. */
248
 
    int show_tsep;     /* Set if the thousands seperator should be shown. */
 
249
    int show_tsep;     /* Set if the thousands separator should be shown. */
249
250
    int show_zeroes;   /* Set if trailing zeroes should be shown. */
250
251
    int toclear;       /* Indicates if display should be cleared. */
251
252
};