updated to the new Pikotools api (new Space struct)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010-2018, Tomasz Sowa
|
||||
* Copyright (c) 2010-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -143,7 +143,7 @@ void print_date_nice(Info & i, const PT::Date & date)
|
||||
// cannot be a const reference at the moment (PT::Space is used)
|
||||
void print_user_name(Info & i, User & user)
|
||||
{
|
||||
std::wstring * dname = user.aenv.GetFirstValue(L"display_name");
|
||||
std::wstring * dname = user.aenv.get_wstr(L"display_name");
|
||||
|
||||
if( dname && !IsWhite(*dname, true) )
|
||||
i.out << *dname;
|
||||
|
Reference in New Issue
Block a user