mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Add comment
This commit is contained in:
@@ -3583,6 +3583,13 @@ proc DoMoonSpecial { n stuff fntag day } {
|
|||||||
if {$phase < 0 || $phase > 3} {
|
if {$phase < 0 || $phase > 3} {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# We need two sets of moon phase windows. There can be
|
||||||
|
# two of a given phase in the same month, but Tk does
|
||||||
|
# not allow the same embedded window in two separate
|
||||||
|
# text boxes. So we use this hack to make sure
|
||||||
|
# we use a different window if the same moon phase
|
||||||
|
# happens twice in a month.
|
||||||
if { $day < 16 } {
|
if { $day < 16 } {
|
||||||
switch -exact -- $phase {
|
switch -exact -- $phase {
|
||||||
0 { set win .moon_new }
|
0 { set win .moon_new }
|
||||||
|
|||||||
Reference in New Issue
Block a user