$OpenBSD: patch-window_vector_cc,v 1.3 2019/01/04 03:15:59 bcallah Exp $
Index: window_vector.cc
--- window_vector.cc.orig
+++ window_vector.cc
@@ -1058,7 +1058,7 @@ const char * Window_vector::copyright_update()
     {
     int year = 1900 + t->tm_year;
     while( year )
-      { year_string.insert( 0U, 1U, '0' + ( year % 10 ) ); year /= 10; }
+      { char c = '0' + ( year % 10 ); year_string.insert( 0U, 1U, c ); year /= 10; }
     }
   history.push_back( year_string );
   if( Screen::get_string( "Year to add (^C to abort): ", history ) <= 0 )
