Is it an accepable style
- From: "Sergey I. Panov" <sipan mit edu>
- To: gnome-devel-list gnome org
- Subject: Is it an accepable style
- Date: Fri, 12 Feb 1999 01:03:38 -0500 (EST)
It is not clear to me what is an acceptable stile and what is a bad
one.
I have not seen ?: expressions used in the code. Whould that qualify
as an acceptable style:
...
/* Don't use gettext on the empty string since gettext will map
* the empty string to the header at the beginning of the .pot file.
* And subtree stock items should be restricted to dgettext */
label = create_label ( uiinfo->label [0] == '\0'?
"":(type == GNOME_APP_UI_SUBTREE_STOCK ?
D_(uiinfo->label):L_(uiinfo->label)),
&keyval);
...
Sergey Panov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]