Angus Leeming <[EMAIL PROTECTED]> writes:

| On Wednesday 06 December 2000 16:52, Lars Gullik Bjønnes wrote:
| > Angus Leeming <[EMAIL PROTECTED]> writes:
| > | Great idea. Done it.
| > |
| > | fdui->counter_zoom = obj =
| > | fl_add_counter(FL_NORMAL_COUNTER,310,130,100,30,"Zoom %|#Z");
| > |
| > | becomes
| > |
| > | fdui->counter_zoom = obj;
| > | {
| > |    // xgettext:no-c-format
| > |    char * dummy = N_("Zoom %|#Z");
| > |    obj = fl_add_counter(FL_NORMAL_COUNTER,310,130,100,30,idex(_(dummy)));
| > |    fl_set_button_shortcut(obj,scex(_(dummy)),1);
| > | }
| > |
| > | The sed script is ALMOST understandable too!
| > | Angus
| 
| > please make that dummy const if possible.
| Would you prefer
|       char const * dummy = ...

char const * 
or
char const * const

| or
|       string const dummy = ...

string is just overkill...

        Lgb

Reply via email to