# HG changeset patch # User Matti Hamalainen # Date 1483829773 -7200 # Node ID 3566fdca974bf8aee2ea47b236c9a400e96c6f8a # Parent e904b453a06aa8ad8f0f9a4ef0acaaa12715adbd weather: Rename a string token. diff -r e904b453a06a -r 3566fdca974b config.weather.example --- a/config.weather.example Sun Jan 08 00:04:02 2017 +0200 +++ b/config.weather.example Sun Jan 08 00:56:13 2017 +0200 @@ -35,7 +35,7 @@ ### ### Messages ### -set weather_msg_list_station [list "\002@station@\002 ( http://www.google.fi/maps/@@c_lat@,@c_long@,15z )"] +set weather_msg_list_station [list "\002@station@\002 ( http://www.google.fi/maps/@@c_lat@,@c_lng@,15z )"] set weather_msg_result [list "\002@station@\002, mitattu klo @ctime@: \002@temp@°C\002"] diff -r e904b453a06a -r 3566fdca974b weather.tcl --- a/weather.tcl Sun Jan 08 00:04:02 2017 +0200 +++ b/weather.tcl Sun Jan 08 00:56:13 2017 +0200 @@ -142,7 +142,7 @@ set uvals(station) [lindex $udata 0] set uvals(type) [lindex $udata 1] set uvals(c_lat) [lindex $udata 2] - set uvals(c_long) [lindex $udata 3] + set uvals(c_lng) [lindex $udata 3] set uvals(c_height) [lindex $udata 4] set uvals(vtime) [lindex $udata 5]