diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 8c9ee65..f8762b1 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.104 2003/03/22 05:13:08 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.105 2003/03/23 01:33:31 rathnor Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "fluxbox.hh" | 28 | #include "fluxbox.hh" |
@@ -1760,7 +1760,7 @@ void Fluxbox::save_rc() { | |||
1760 | XrmPutLineResource(&new_blackboxrc, rc_string); | 1760 | XrmPutLineResource(&new_blackboxrc, rc_string); |
1761 | #else // !HAVE_STRFTIME | 1761 | #else // !HAVE_STRFTIME |
1762 | sprintf(rc_string, "session.screen%d.dateFormat: %s", screen_number, | 1762 | sprintf(rc_string, "session.screen%d.dateFormat: %s", screen_number, |
1763 | ((screen->getDateFormat() == B_EuropeanDate) ? | 1763 | ((screen->getDateFormat() == B_EUROPEANDATE) ? |
1764 | "European" : "American")); | 1764 | "European" : "American")); |
1765 | XrmPutLineResource(&new_blackboxrc, rc_string); | 1765 | XrmPutLineResource(&new_blackboxrc, rc_string); |
1766 | 1766 | ||
@@ -2064,11 +2064,11 @@ void Fluxbox::load_rc(BScreen *screen) { | |||
2064 | if (XrmGetResource(*database, name_lookup, class_lookup, &value_type, | 2064 | if (XrmGetResource(*database, name_lookup, class_lookup, &value_type, |
2065 | &value)) { | 2065 | &value)) { |
2066 | if (strncasecmp(value.addr, "european", value.size)) | 2066 | if (strncasecmp(value.addr, "european", value.size)) |
2067 | screen->saveDateFormat(B_AmericanDate); | 2067 | screen->saveDateFormat(B_AMERICANDATE); |
2068 | else | 2068 | else |
2069 | screen->saveDateFormat(B_EuropeanDate); | 2069 | screen->saveDateFormat(B_EUROPEANDATE); |
2070 | } else | 2070 | } else |
2071 | screen->saveDateFormat(B_AmericanDate); | 2071 | screen->saveDateFormat(B_AMERICANDATE); |
2072 | 2072 | ||
2073 | sprintf(name_lookup, "session.screen%d.clockFormat", screen_number); | 2073 | sprintf(name_lookup, "session.screen%d.clockFormat", screen_number); |
2074 | sprintf(class_lookup, "Session.Screen%d.ClockFormat", screen_number); | 2074 | sprintf(class_lookup, "Session.Screen%d.ClockFormat", screen_number); |